OxCaml covers the compiler extensions and their supporting tools and packages.
W03.2026 · 12–18 Jan/OxCaml
Features
OxCaml Dune build: Merged 2026-01-13; unsets INSIDE_DUNE before building so Dune picks up build concurrency. Reduces dune build elapsed time from ~32 min to ~14 min. (#25)
OxCaml modalities: Merged mode constraints for curried functors, applying the restrictive (a -> b -> c) @ mode form for soundness. (#5230)
OxCaml ARM64 backend: Merged a rewritten typed DSL with register and instruction constraints enforced by the OCaml type system. (#5193)
OxCaml preemption: Open PR adding native effects-based preemption; user code can request domain preemption, performed at the next GC poll point. (#4881)
OxCaml Chamelon: Merged improved minimizers for match constructs, including a new reduce-pat pass that removes branches from match arms. (#5212)
Fixes
js_of_ocaml-toplevel: Merged 2026-01-13; removes the [%%if] patch so the package builds without the "Uninterpreted extension 'if'" error. (#26)
OxCaml mode solver: Fixed non-commutativity in meet and join by replacing Varmap.map with a sequential fold over mode variables. (#5233)
OxCaml Cmm switch: Fixed constant switch optimisation not triggering after inlining by detecting branches that jump to a shared continuation. (#5200)
Compatibility and Releases
OxCaml kind system: Merged separability into the layouts extension, removing the separate toggle; Array.get is now zero-alloc in upstream-compatible code. (#5231)
OxCaml opam-repository: Merged 2026-01-16; adds dune 3.21.0+ox to resolve build breakage in remaining OxCaml packages. (#29)