Core covers the OCaml compiler and language RFCs.
Core repository summaries
1 active · 1 unchanged
ocaml/ocaml
PermalinkFeatures
- OCaml module patterns: PR #14149 (open) distinguishes
(module M : S)from(module M) : (module S)in patterns. Prerequisite for the modular-explicits feature in #13275. - OCaml error messages: PR #14147 (open) prints row type variables in error messages when they appear as type constructors, e.g.
< bar : int; .. as $1>.
Compatibility and Releases
- OCaml 5.4 symbol names: PR #14143 (merged) restores
.as the module separator in symbol names on non-Apple unix systems. Restoresperfsupport for OCaml 5.4 while keeping the$separator on macOS and Windows. - OCaml C++ headers: PR #14139 (merged) moves
atomic_uintnatandatomic_intnatdefinitions intomisc.h, fixing C++ compilation failures with GCC 15.1. Closes #14101. - OCaml Arm64 memory model: PR #13393 (closed) implementing the branch-after-load scheme was superseded by the merged #14074. The BAL approach reduced monomorphic
Array.blitfrom ~700 ms to ~16 ms on M2.
Fixes
- OCaml runtime minor heap: PR #14158 (merged) decommits a domain's minor heap when it leaves the STW participant set. Prevents incorrect decommit of uncommitted address ranges on domain respawn.
- OCaml compiler externals: PR #14146 (merged) replaces an
assert falsewith a proper error message when anexternaldeclaration has a non-syntactic arity. - OCaml runtime events: Issue #14151 (open) reports inconsistent timing results and
Runtime_events: corrupt streamcrashes when custom events are emitted faster than the ring buffer is polled.