Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W44.2024 · 28 Oct – 3 Nov

Core repository summaries

2 active · 0 unchanged

Back to weekly digest

ocaml/RFCs

Permalink

Features

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

  • OCaml unit headers (RFC #26): Open proposal by gasche introducing a %%unit_header extension for compilation-unit-level configuration (e.g. [@@@warning "-missing-mli"], [@@@rectypes]) in source files. A 2024-10-28 maintainer meeting discussed alternative syntaxes such as {%header …} to avoid requiring a full parser to delimit the header. #26

ocaml/ocaml

Permalink

Features

  • OCaml major GC (PR #13580, draft): Opens a "mark-delay" 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. Notes 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, due to a brief unlock window in caml_flush_partial. Documentation does not specify this concurrent behaviour. Issue