Thicket thicket
ocaml
REPOS 5

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

W40.2026 · 28 Sep – 4 OctOxCaml

Features

  • k box kind constructor merged (2026-10-03). Denotes the boxed (scannable) version of kind k; e.g. type t : (value & float64) box. #6956

  • type ('a : any) option merged (2026-10-03). Permits non-value payloads in option. #5462

  • %box / %unbox layout-directed primitives (alpha, open). Gated behind -extension layouts_alpha; currently unsound for types sharing an unboxed layout, and blocked on the bytecode boxing invariant. #7254

  • Labeled tuple projections e.~l (open). Typed via a suspended constraint in the current region; first client of the omnidirectionality mechanism. #7432 #7418

  • Reaper LTO infrastructure (merged). Splits the reaper into traverse/solve/rebuild phases and records cross-unit call references, preparing for separate ocamlopt processes. #7222 #7244 #7239 #7240

  • TLS per preemptible fiber; guard pages only for active stacks (open). Suspended fibers release their 8 MiB guarded mapping, enabling 100 000+ fibers without exhausting VMAs. #7399 #7349

  • Mode-polymorphism parsing and borrowability/borrowedness axes (open). Parser accepts mode variables and bounds in signatures; two new mode axes plumbed through the solver with no semantics yet. #6829 #7255

  • FDO prototype and [@cold] continuation propagation (open). [@cold] now propagates upward, enabling inlining of cold continuations in Simplify. #7395 #7361