Thicket thicket
ocaml
REPOS 5

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

March 2026

Monthly story not yet available.

W13.2026 · 23–29 MarOxCaml

Fixes

Merlin: adds -linscan to the list of ignored compiler flags, closing a gap present since the flag's introduction. Merged by liam923. #226

Features

OxCaml abstract kinds: with kind_ constraints complete the abstract kinds feature set, enabling kind-level parametricity analogous to type-level with bounds. Open PR by ccasin. Link

OxCaml mode polymorphism: level-relation operations (update-level, generalize, instantiate) integrate into type inference under -extension mode_polymorphism_alpha. Open PR by ainageorges. Link

OxCaml write/writing modes: new modes make visibility and statefulness axes partial-ordering diamonds; write permits mutation without reading, writing closes over such values. Open PR by nmatschke. Link

OxCaml unique implies uncontended: experimental jkind/ikind axis tracks whether @ unique upgrades to @ uncontended, disabled by @@ aliased modalities. Open draft PR by julesjacobs. Link

OxCaml preemption: initial effects-based runtime preemption allows user schedulers to preempt domains at GC poll points without explicit yielding. Open PR by glittershark. Link

OxCaml generalized unboxed reprs: constructor-level [@repr null], [@repr immediate], [@repr pointer], and [@repr value] annotations enable allocation-free variant encodings. Open draft PR by julesjacobs. Link

OxCaml x86 peephole pass: new -x86-peephole-optimize flag enables rewrite rules eliminating dead-register MOVs, redundant CMPs, and combining adjacent addq RSP sequences. Open PR by ttebbi-janestreet. Link

OxCaml optimization fuel: OPT_FUEL_RECORD and OPT_FUEL_THRESHOLD environment variables enable binary-searching which optimization step causes a miscompilation. Open PR by ttebbi-janestreet. Link