Thicket thicket
ocaml
REPOS 5

OxCaml covers the compiler extensions and their supporting tools and packages.

W31.2026 · 27 Jul – 2 AugOxCaml

Features

  • First-class modalities: t @@ m as a writable type with automatic introduction and elimination rules. Reduces Stdlib.Modes wrapper boilerplate. #6678 (open, draft)
  • AVX-512 EVEX encoding merged; ZMM/mask register backend and 512-bit array support in progress. #6294 (merged), #6339, #6340 (open)
  • Variant subtype declarations (type t :> u) behind -extension subtypes: zero-cost coercion via inherited runtime tags. #6655 (open)
  • Atomic block indices (idx_atomic): read and write [@atomic] record fields via Idx_atomic.get/set. #6667 (open)
  • BFS meet strategy for flambda2 type unification, selectable via -X flambda2-meet-strategy=bfs. #6191 (merged)

Fixes

  • utop 2.16.0+ox1 now compiles against OxCaml 5.2.0+ox; the 5.2.0+ox switch installs utop successfully. #58 (merged, dra27-js); closes issue #56
  • Mode variable subsumption: subject-mode variables become rigid during moregen, preventing acceptance of less polymorphic implementations. #6279 (open)
  • Forbid [%atomic.loc] and mutable indices to polymorphic record fields, which previously permitted Obj.magic-equivalent unsoundness. #6688 (open)

Compatibility and Releases

  • LTO/Reaper: new -reaper-rebuild and -reaper-solve entry points; CMR file format for serialising reaper data. #6632, #6638 (merged)