Thicket thicket
ocaml
REPOS 1

Core covers the OCaml compiler and language RFCs.

W29.2025 · 14–20 Julocaml/ocaml

Features

  • 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. Restores perf support for OCaml 5.4 while keeping the $ separator on macOS and Windows.
  • OCaml C++ headers: PR #14139 (merged) moves atomic_uintnat and atomic_intnat definitions into misc.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.blit from ~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 false with a proper error message when an external declaration has a non-syntactic arity.
  • OCaml runtime events: Issue #14151 (open) reports inconsistent timing results and Runtime_events: corrupt stream crashes when custom events are emitted faster than the ring buffer is polled.