Thicket thicket
ocaml
REPOS 5

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

April 2026

Monthly story not yet available.

W18.2026 · 27 Apr – 3 MayOxCaml

Features

OxCaml (PR #5844, merged): uses phi-move information from the split pass to group temporaries into equivalence classes, deleting 0.5–2.2% of moves across allocators. Link

OxCaml (PR #5960, open): proposes GC-based unloading of compilation units via Code_block heap objects; a unit is munmaped when unmarked at end of major cycle. Link

OxCaml (PR #5913, open): adds a tickc callback to fibers, invoked in reverse order at each runtime tick to trigger preemption; replaces the interval-timer mechanism. Link

OxCaml (PR #5937, open): adds hardware performance-counter sampling to runtime events on Linux x86-64, enabled via OCAML_RUNTIME_EVENTS_PERF_COUNTERS. Link

OxCaml (PR #5483, open): integrates level-relation operations into type inference behind -extension mode_polymorphism_alpha; mode variables carry level annotations. Link

OxCaml (PR #5870, open): extends layout-polymorphism to function types, enabling values whose memory layout is determined at the call site. Link

OxCaml (PR #5885, open): enables module packing and unpacking inside metaprogramming quotations, inserting type annotations for non-HM inspection. Link

Fixes

Merlin (cmi cache): backports upstream cache-invalidation logic, changing how stale .cmi files are detected. Merged 2026-05-01. Link

Merlin (typeopt): replaces Misc.fatal_error calls with proper error raising in typeopt.ml and typeopt.mli. Merged 2026-05-01.

oxcaml/opam-repository (issue #28): oxcaml_effect installation failed with a checksum error after the source repo was renamed; newer versions carry corrected checksums. Link

oxcaml/opam-repository (issue #15): opam update ox failed because the external patch binary exited non-zero; resolved by opam 2.4, which no longer invokes an external patch. Link

Compatibility

Merlin (Nix flake): updates the build flake from OCaml 5.2 to 5.4; pins NixPkgs to a pre-menhirGLR revision. Merged 2026-05-04.