Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

October 2024

Monthly story not yet available.

W44.2024 · 28 Oct – 3 NovCore

Features

  • OCaml RFC #42 (memory model): Open proposal revising the mixed-atomicity model to permit only relaxed reads on atomic locations. A 2024-10-28 maintainer meeting clarified these reads are weaker than C11 relaxed reads; RFC text pending update. #42

  • OCaml RFC #26 (unit headers): Open proposal introducing a %%unit_header extension for compilation-unit-level configuration in source files. A 2024-10-28 meeting discussed alternative syntaxes such as {%header …} to avoid requiring a full parser. #26

  • OCaml major GC (PR #13580, draft): Draft patch adding a sweep-only phase at the start of each major GC cycle, reducing latent garbage delay by roughly half a cycle. Upstreamed from oxcaml work by @stedolan. PR

  • OCaml GC "Already Scanned" (issue #13574): Feature request to restore the OCaml 4 optimisation that skips rescanning unchanged stack frames. The feature is more impactful in OCaml 5 due to runtime-managed stacks. Issue

Fixes

  • OCaml Out_channel.flush (issue #13586): Reports that flush can raise Sys_error when racing with close across domains. Documentation does not specify this concurrent behaviour. Issue