Core covers the OCaml compiler and language RFCs.
Core repository summaries
1 active · 1 unchanged
ocaml/ocaml
PermalinkFeatures
-
Frame-pointer support is now available on RISC-V (s0/x8 as CFA). Tested on Spacemit X60; works with and without C frame pointers. (#14506, merged)
-
PR adds
{Option,Result}.try_value, a combinator that attempts a computation and falls back on failure. Stdlib team approved the design; PR is open. (#14941)
Compatibility and Releases
-
caml_atomic_exchange,_cas, and_fetch_addno longer emit redundant acquire/release fences around the seq_cst RMW on AArch64. The RMW is itself a full ordering point (RCsc); verified with herd7. (#14936) -
A new GC-pacing algorithm replaces the current one, tracking off-heap and ephemeron allocations. The PR is open with remaining work on custom-block accounting and test failures. (#14796)
Fixes
-
ocamloptnow emits a store-release (stlr) for non-atomic assignment stores on all arm64 targets, replacingdmb ishld; str. On FEAT_LRCPC2 cores this is 4–50× faster; configure auto-detects and falls back for Cortex-A53/A72. (#14922, merged) -
A functional record update that implicitly copies an atomic field now performs an atomic load instead of a plain field read. PR #14935 is open; the alternative (forbidding such updates, #14931) was closed. (#14918)
-
A size limit is added to the fiber cache to prevent unbounded growth when fibers migrate between domains. Configurable via
OCAMLRUNPARAM; backport to 5.5 is in progress. (#14940) -
The runtime now queries
sysconf(_SC_MINSIGSTKSZ)at startup instead of using the compile-timeSIGSTKSZconstant. Fixes a fatal error on Alpine 3.24 (musl 1.2.6) with Intel Xeon Platinum 8488C. (#14933)