Thicket thicket
ocaml
REPOS 5

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

W05.2026 · 26 Jan – 1 FebOxCaml

Features

OxCaml arm64 emitter: Merged native arm64 machine-code emitter with a typed DSL, making ocaml-jit architecture-independent. Enables JIT compilation on arm64 without an external assembler. #5177

OxCaml unboxed types: Merged #() literals and the abstract unit# type. Open PRs add bool# with #false/#true and #-prefixed keywords (#if, #assert, #while) that typecheck against unboxed types. #5156, #5151, #5166, #5167

OxCaml preemption: Open PR implements runtime, effects-based preemption at GC poll points via a Preemption effect. A companion PR moves the per-domain tick thread into the runtime, configurable via OCAMLRUNPARAM T. #4881, #5349

OxCaml borrowing: Open PR adds a borrow_ operator for temporary aliased access to unique values without consuming uniqueness. Borrowed values are local and aliased; the original regains uniqueness after the borrow scope. #5215

Merlin kind-enclosing: Merged new kind-enclosing query, the jkind analogue of type-enclosing for hover. Supports -index to print a single kind. #208

OxCaml vec256 on arm: Open PR translates 256-bit vectors to pairs of 128-bit vectors on arm, splitting loads and stores into two 128-bit operations. Enables 256-bit SIMD tests on arm without AVX intrinsics. #5291

Fixes

Merlin record field completion: Merged fix importing upstream changes to correct record field completion behaviour. #209

Merlin locate-types: Merged cherry-pick of two upstream PRs improving locate-types, with an oxcaml-specific adjustment for Tpoly-wrapped parameter types. #207

OxCaml Gc.stat: Merged fix reports heap_chunks for runtime 5 and includes free pools in heap_words and free_words, matching runtime 4 semantics. #5226

OxCaml opam-repository: Merged patches to opam-core.2.5.0+ox and opam-format working around a missing implicit cast from _ @ local -> _ to _ @ global -> _. #33

Compatibility

Merlin OxCaml sync: Merged OxCaml changes from 5.2.0minus-26 through 5.2.0minus-29 into Merlin, updating the compiler backend. #212

OxCaml dissector 64-bit eh_frame: Merged support for 64-bit .eh_frame sections in large executables. Adds --enable-assembler-suitable-for-dissector configure option and a -dissector-assume-lld-without-64-bit-eh-frames compiler flag. #5303