Thicket thicket
ocaml
REPOS 1

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

W01.2026 · 29 Dec 2025 – 4 Jan 2026oxcaml/oxcaml

Features

Oxcaml dissector: merged a new linking pass that partitions object files to keep 32-bit relocations valid, using intermediate GOT/PLT sections to bridge cross-partition references. Enabled via -dissector; avoids the large code model's instruction bloat. (#5146)

Oxcaml ikinds: introduces LDD-based algorithms for kind subsumption and mode crossing, replacing the previous approach. Under active review; the implementation uses zero-suppressed decision diagrams for efficient lattice operations. (#5159)

Oxcaml scannable axes: adds non_pointer, non_pointer64, and non_float as first-class scannable axes for unboxed types, computing nullability and separability automatically. Awaiting internal benchmarking before merge. (#5169)

Oxcaml arm64 binary emitter: adds a machine-code emitter for arm64 with a typed DSL enforcing constraints via the OCaml type system. Also refactors ocaml-jit to be architecture-independent, enabling JIT on arm64. (#5177, #5193, #5186)

Oxcaml preemption: implements runtime, effects-based preemption allowing user schedulers to preempt domains without explicit yielding. A Preemption effect fires at the next GC point; unhandled preemptions resume execution rather than raising. (#4881)

Oxcaml repr_ types: adds front-end support for layout-polymorphic types via the repr_ keyword, introducing Ptyp_repr and Ttyp_repr AST nodes. Types are currently uninhabited; instantiation is deferred to follow-up work. (#5068)

Fixes

Oxcaml stage checks: adds stage-lock checking for record and unboxed record labels, preventing values from being constructed in incorrect stages across quotation boundaries. Splits stage locks into a separate type within the environment. (#5158)

Oxcaml or_null separability: fixes imprecise kind assignment for 'a or_null instances where the parameter is non_pointer or non_float, now correctly narrowing to scannable non_pointer & value. Removes an ad-hoc patch in check_decl_jkind. (#5178)