Thicket thicket
ocaml
REPOS 5

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

W42.2026 · 12–18 OctOxCaml

Features

  • Omnidirectional type inference: -extension omnidirectionality defers Tvar defaulting and mode crossing to a scheduler. #7540, #7544 opened; #7418 ongoing.

  • Never-returning functions carry Unknown arity in Flambda, enabling layout-polymorphic returns such as assert false typed ('a : any). #7541, #7545, #7546 opened.

  • FDO: new -fdo-counters flag with counter propagation through Flambda and function identity via scope path plus body hash. #7530, #7531, #7551, #7553 opened.

  • JSIR backend: Smallint, block-index, and stdlib-build support added; ocamltest integration for JSIR tests. #7534, #7581, #7586, #7607 opened.

  • Address patterns (addr_, addr_imm_) now type-check and translate to lambda. Merged #7456, #7458; mode crossing in #7605 opened.

Fixes

  • TLS state is now per-preemptible-fiber; Obj_slot.access replaces get/set, eliminating crossing requirements. Merged #7399, #7539, #7398.

  • Datalog engine: union opcodes, binding-position tracking, parameter-stage folding, and Patricia-tree prefetching. Merged #7596–#7604, #7321.

  • Unboxed products in external calls: complex return arities preserved end-to-end in Flambda2; C struct ABI on x86-64/arm64. Merged #6861; #6862 ongoing.

  • dune.3.22.2+ox bootstrap failure after #5462 fixed upstream as #16589. #63 closed unmerged.

  • oxcaml-compiler.5.2.0minus39 assertion in utils/warnings.ml on macOS arm64; not reproducible, no fix identified. #64.

Compatibility

  • Dune CI gained an OxCaml-main bootstrap job (#16582), covering the previously untested case of OxCaml main building Dune.

  • #65 (open) adds the missing license field to four zarith.1.12+ox* packages, aligning them with zarith.1.14+ox.