Core covers the OCaml compiler and language RFCs.
Core repository summaries
2 active · 0 unchanged
ocaml/RFCs
PermalinkFeatures
-
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_headerextension 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
PermalinkFeatures
-
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 thatflushcan raiseSys_errorwhen racing withcloseacross domains, due to a brief unlock window incaml_flush_partial. Documentation does not specify this concurrent behaviour. Issue