Features
-
OxCaml register allocation: Merged affinity support for all three register allocators, enabled with
-regalloc-param AFFINITY:on. The allocator prefers physical registers with the most move traffic to a given temporary. #5059 -
OxCaml untagged int arrays: Merged support for
int8#,int16#, andint#arrays and iarrays, including creation and indexed access.char#arrays are available as a byproduct of theint8#layout. #4643 -
OxCaml name mangling: Open PR proposes a reversible mangling scheme that reconstructs full module paths, including submodules, from a mangled name. Demangling targets LLVM, the Linux kernel, binutils, and GDB. #5099
-
OxCaml abstract kinds: Open PR (part 2 of 3) adds basic abstract kind declarations and kind aliases to the type system. Module-level
with kind_ = ...constraints are deferred to part 3. #5071 -
OxCaml layout-polymorphic types: Open PR introduces the
repr_source syntax andPtyp_repr/Ttyp_reprAST nodes for layout-polymorphic type definitions. Such types are currently uninhabited. #5068 -
OxCaml opam-repository: Open PR proposes replacing the monolithic
conflictsclause inocaml-variants.5.2.0+oxwith generated guard packages that enforce patched-version dependencies via per-package disjunctions. #27
Fixes
-
OxCaml to_cmm: Merged fix prevents illegal re-orderings that changed observable program semantics. The corrected behaviour is behind a CLI flag and
OCAMLPARAMenvironment variable, off by default. #4941 -
OxCaml inlining cost metrics: Merged fixes correct code-size computation for lookup-table switches,
Boolean_notswitches, and canonicalized primitives. A new profiling counter tracks speculative inlining that fails to reduce code size. #5120, #5121, #5118, #5116 -
OxCaml opam-repository: Open PR reapplies a patch removing the
[%%if ocaml_version < (4, 14, 0)]extension from thejs_of_ocaml-toplevelbuild, which OxCaml does not interpret. #26
Compatibility
- OxCaml nullability axis: Merged change converts nullability from a non-modal axis to a scannable axis, adding new syntax alongside the existing
non_nullform. This unblocks further work on scannable layouts and ikinds. #5086