Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W25.2026 · 15–21 JunCore

Releases

  • OCaml 5.5.0 (2026-06-19): module-dependent functions, polymorphic function arguments, relocatable compiler, generalized local definitions, String.search_*/String.replace_*, external types, GC improvements, ~60 new stdlib functions. Release notes

  • OCaml 4.14.4 (2026-06-15): security fix for size-overflow in caml_ba_reshape (CVE-2026-34353) and filename quoting in Filename.quote_command on Windows. Release notes

Fixes

  • make installcross for *-pc-windows targets now sets the correct -launch-method for bytecode programs. Cherry-picked for 5.5.0. #14869

  • promote-menhir target switched to menhir --dump-menhirLib after Menhir changed its library installation format. Requires Menhir ≥ 2023. #14862

Features

  • Dynarray.unsafe_get / Dynarray.unsafe_set (proposed): skip bounds checking for ~2.5× faster reads, ~1.4× faster writes. Open PR. #14864

  • Configurable domain stack size via OCAMLRUNPARAM S (e.g. S=50M): addresses segfaults from deep C stack in spawned domains. Open PR, Windows support in progress. #14860

Compatibility

  • ocaml-compiler.5.5.0 fails on Windows (opam) during tools/opam/generate.ml clone with a Sys_error on toplevel:stdlib.cmi. Open, no fix yet. #14871

  • Gc.compact on Linux: exceeding vm.max_map_count causes munmap to return ENOMEM; the runtime ignores the error, leaving memory mapped but marked free. A madvise(MADV_DONTNEED) fallback is proposed (open). #14865