Core covers the OCaml compiler and language RFCs.
Core repository summaries
1 active · 1 unchanged
ocaml/ocaml
PermalinkFeatures
Runtime_events.User.writeno longer allocates in steady state; the per-domain write-buffer cache is now a single atomic slot in DLS. Merged 2026-08-12. (#14984)- Frame-pointer support added for the POWER backend (
ppc64le); the allocation pointer moves from r31 to r23 and outgoing-argument space is reserved inIstackoffset. Merged 2026-08-12. (#14505) - New C API
caml_result_find_exceptionreturns a pointer to the exception payload in acaml_result, or NULL. Merged 2026-08-13. (#14814) - Proposal to emit native
Atomic.exchangeandAtomic.compare_and_setinstructions on all five backends when the stored value is statically immediate; benchmarks show ~2–3× speedup on amd64 single-domain. Open. (#14980) - Proposal to reimplement
Weak.Make(weak hashsets) with open-addressing and linear probing; alt-ergo-free is 30% faster in one benchmark. Open. (#14979)
Fixes
Weak.get_copyshallow-duplicates continuations, producing two handles to the same fiber and causing segfaults on double-continue. Proposal treats continuations like custom values (no copy). Open. (#14988)current_ring_total_sizein the runtime-events ring buffer is a 32-bitint; atOCAMLRUNPARAM=e=21,d=128the computed size exceeds 2 GiB, truncates, and the ring becomes unusable. Fix changes the type tosize_t. Open. (#14999, #15000)
Compatibility and Releases
- Proposal to enable LFS (
_FILE_OFFSET_BITS=64) and 64-bittime_t(_TIME_BITS=64) by default on all 32-bit targets via Autoconf; disable with--disable-largefile/--disable-year2038. Affects only 32-bit builds. Open. (#14997)