Thicket thicket
ocaml
REPOS 5

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

W44.2026 · 26 Oct – 1 NovOxCaml

Features

  • -ssa-delete-empty-loops and -ssa-bounds-check-elim passes (proposal). Decisions derive from Rocq-proved OCaml; off by default. #7802

  • deref_, addr_, and addr_imm_ patterns (experimental). Parsing and type-checking merged; lambda translation open. #7707, #7731, #7776

  • Mode polymorphism: 'm variables, bounds, and morphisms past/close are parsed, typed, and printed (experimental). Currying constraints generated implicitly. #7503, #7771

  • Fdo_counter_identity and Fdo_counter types define identities for pseudo-instrumentation; a companion pass inserts counters during closure conversion (research). #7530, #7729

  • Zero-allocation backend propagates [@@zero_alloc conditional] through call sites (proposal). E.g. List.iter ignore xs is recognised as non-allocating. #7722

  • -ffp-contract=on|off controls arm64 FMA contraction of nested binary64 mul-add/sub (proposal). Default on; off emits separate mul+add. Settable via OCAMLPARAM ffp-contract. #7813

Fixes

  • Demarshaler validates closure metadata, guards size wraparound, rejects forged tags (OSEC 2026-01/18/23). Unix.map_file uses caml_umul_overflow to prevent undersized mappings (OSEC 2026-22). #7770, #7767

Compatibility and Releases

  • Stdlib.Effects.Safe renamed to Yielding (proposal). The Safe name did not guarantee all effects are handled; tests using reperforming behaviour now use With_handler. #7764