Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W30.2026 · 20–26 Julocaml/ocaml

Fixes

  • The fiber stack cache now has a per-size-class limit, preventing unbounded memory growth when fibers migrate between domains. Configurable via OCAMLRUNPARAM. (merged) #14940
  • The compiler build now ignores OCAMLTOP_INCLUDE_PATH, fixing opam switch create failures on Windows where a stale path caused a fatal error. (merged) #14914
  • The RISC-V backend routes large stack offsets through a li+add sequence, fixing assembler rejections when offsets exceed the 12-bit immediate range. (merged) #14943

Compatibility

  • Record updates { r with … } that implicitly copy an [@atomic] field currently emit a plain load; this PR adds the missing atomic load. (open) #14935

Features

  • Option.try_value and Result.try_value are now available, converting an exception-raising function into an Option/Result. (merged) #14941
  • A proposed Hashtbl replacement provides deterministic iteration order regardless of seed, at a preliminary 4–53% microbenchmark cost. (open) #14956

Performance

  • Inlining the full-application path of caml_apply reduces runtime by ~25% on function-call-heavy workloads; coq-bench shows 1–4% improvement across packages. (open) #14925
  • Checking path equivalence modulo aliases in the type checker reduces compilation of certain Dune-wrapped libraries from >10 min to 170 ms. (open) #14927