Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W30.2026 · 20–26 JulCore

Features

  • Option.try_value and Result.try_value convert an exception-raising function into an Option or Result. (merged) #14941
  • A proposed Hashtbl replacement yields deterministic iteration order regardless of seed; preliminary microbenchmarks show 4–53% cost. (open) #14956
  • #62 (Drup) proposes an API to manipulate Destination values for rendering. Open since 2026-06-30; no merged or released change.

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

Fixes

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

Performance

  • Inlining the full-application path of caml_apply reduces runtime by ~25% on function-call-heavy workloads; coq-bench shows 1–4% improvement. (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