Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W25.2026 · 15–21 Jun

Core repository summaries

1 active · 1 unchanged

Back to weekly digest

ocaml/ocaml

Permalink

Features

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

  • Dynarray.unsafe_get / Dynarray.unsafe_set proposed: skip bounds checking for ~2.5× faster reads and ~1.4× faster writes. Open PR with extended safety documentation. #14864

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

Fixes

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

  • Cross-compilation BINDIR override merged: 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 merged: switched from menhir --suggest-menhirLib to menhir --dump-menhirLib after Menhir changed its library installation format. Requires Menhir ≥ 2023. #14862

Compatibility

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

  • Gc.compact memory leak on Linux: when vm.max_map_count is exceeded, munmap returns ENOMEM; the runtime ignores the error, leaving memory mapped but marked free. A madvise(MADV_DONTNEED) fallback is proposed. Open. #14865

1 repository · no changes