Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W42.2025 · 13–19 OctCore

Features

  • OCaml RFCs #57: proposes labeled and 0-indexed tuple projections (e.g. x.tuple, x.3). Still open; row-polymorphic tuples are out of scope. PR
  • OCaml trunk: merged PR adds caml_c_thread_register_in_domain, letting C threads register in a chosen domain instead of always domain 0. The target domain must be running. #14275
  • OCaml trunk (proposal): open PR adds -launch-method, -runtime-search, and --enable-suffixing for relocatable bytecode executables. Binaries locate ocamlrun relative to their own directory before searching PATH. #14245
  • OCaml trunk (proposal): open PR adds a -typing-recovery flag so the type checker continues past the first error and reports all type errors in a file. #14241

Fixes

  • OCaml trunk: merged PRs replace hash-table iteration with ordered maps in the type checker and translobj, producing deterministic .cmi output and reproducible builds. #14297 #14299
  • OCaml trunk: open issue reports a data race between the major-heap allocator and Statmemprof during minor GC, visible under ThreadSanitizer. Two fix PRs are open. #14300 #14304 #14306

Compatibility

  • OCaml trunk: merged PR switches the compiler's internal CRC from MD5 to Blake128. No user-facing API change; affects only .cmi checksums. #13913
  • OCaml trunk (proposal): open PR makes Hashtbl seeded by default unless OCAMLRUNPARAM includes R=0, changing iteration order for all unseeded tables. #14291
  • OCaml trunk (proposal): open PR changes x |> f y to typecheck as (f y x) rather than ((f y) x), affecting code with optional or labelled arguments. #14286