Thicket thicket
ocaml
REPOS 5

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

W17.2026 · 20–26 Aproxcaml/oxcaml

Features

  • OxCaml preemption: Runtime effects-based preemption PR updated with arm64 port and verified 256-bit register tests; a follow-up for preemptible fibers opened. (#4881, #5913)

  • OxCaml layout polymorphism: env_alloc_mode added to Tpat_fun_layout (merged); sort variable IDs in .cmi files now use negative encoding to prevent collisions (merged). (#5662, #5663)

  • OxCaml diamond-aware hints: Mode hint branch selection now handles diamond-shaped lattices in Meet/Join hints, producing correct pinpoint values in error messages. Merged 2026-04-24. (#5858)

  • OxCaml copy propagation: New optional CFG pass deletes single-use temporaries before register allocation; removes ~3% of moves with linscan, ~5% with greedy. Off by default. (#5914)

  • OxCaml zero-alloc parameters: [@zero_alloc] extended to higher-order function arguments with explicit arity requirement; front-end type checking only, no back-end changes. (#5493)

  • OxCaml fexpr tooling: Basic syntax coloring added to the fexpr printer (merged); Eval.eval in expect-tests proposed to enable metaprogramming test migration. (#5925, #5933)

Fixes

  • OxCaml kind annotation check: A kind annotation on an existential in a pattern could silently narrow its declared kind, causing segfaults; a matching check is now added. (#5935)

Compatibility and Releases

  • OxCaml mixed block v6: All-value/void mixed records and variants now compile to uniform blocks, restoring poly compare and marshaling; the 254-value field limit is lifted. (#5774)