Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W33.2026 · 10–16 AugCore

Features

  • Runtime_events.User.write no longer allocates in steady state; the per-domain write-buffer cache is a single atomic slot in DLS. Merged. (#14984)
  • Frame-pointer support added for the POWER backend (ppc64le); allocation pointer moves from r31 to r23. Merged. (#14505)
  • New C API caml_result_find_exception returns a pointer to the exception payload in a caml_result, or NULL. Merged. (#14814)
  • Proposal: emit native Atomic.exchange and Atomic.compare_and_set on all five backends for statically immediate values; ~2–3× speedup on amd64. Open. (#14980)
  • Proposal: reimplement Weak.Make with open-addressing and linear probing; alt-ergo-free 30% faster in one benchmark. Open. (#14979)

Fixes

  • Weak.get_copy shallow-duplicates continuations, producing two handles to the same fiber and segfaulting on double-continue. Proposal treats continuations like custom values. Open. (#14988)
  • current_ring_total_size in the runtime-events ring buffer is 32-bit; at OCAMLRUNPARAM=e=21,d=128 the size exceeds 2 GiB and truncates. Fix changes type to size_t. Open. (#14999, #15000)

Compatibility

  • Proposal: enable LFS (_FILE_OFFSET_BITS=64) and 64-bit time_t by default on 32-bit targets; disable with --disable-largefile / --disable-year2038. Open. (#14997)