Core covers the OCaml compiler and language RFCs.
Core repository summaries
2 active · 0 unchanged
ocaml/RFCs
PermalinkFeatures
-
OCaml RFC #37 (uniform arrays): Open proposal, updated 2025-11-07. Proposes specialized built-in and C primitives for uniform arrays plus a
CamlinternalUniform_arraystandard-library module to simplify unsafe array idioms inDomain.DLS,Dynarray, and Jane Street Base. #37 -
OCaml RFC #58 (OLC voting procedure): Open proposal created 2025-11-05. Reframes committee votes as opinion-mapping rather than final judgement, with consensus as the primary decision mechanism. #58
-
OCaml RFC #55 (OLC conflicts of interest): Open proposal, updated 2025-11-05. Adds a transparency-based conflict-of-interest reporting policy and an affiliation field to the committee roster. #55
ocaml/ocaml
PermalinkFeatures
Relocatable OCaml (PRs #14243–#14246): Four open PRs implement RFC 53, adding --with-relative-libdir, --enable-suffixing, and --enable-runtime-search to configure, plus new ocamlc options -launch-method and -runtime-search. Bytecode executables and shared libraries receive version-suffixed names to disambiguate multiple installations.
include functor (PR #14177): Open proposal adding include functor F as a structure item, applying a single-parameter functor to the current module contents. Eliminates boilerplate proxy modules; multi-parameter functors are rejected with an error.
Module mismatch hints (PR #14330): Open PR adding "close match" hints to signature-mismatch errors when a misspelled identifier in the implementation closely resembles a required one, using a stable-matching algorithm over edit distances.
Compatibility and Releases
Unix C API (PR #14310): Merged deprecation of union sock_addr_union and socklen_param_type in favour of struct sockaddr_storage and socklen_t, with a C11 _Generic macro preserving source compatibility.
Fixes
GC work accounting (PRs #14329, #14336): Merged fixes align major-GC work counters with pacing expectations: caml_darken marking now counts toward the slice, free blocks are excluded from sweep work, and ephemeron marking drops a quadratic walk term.
Runtime race fix (PR #14337): Merged fix for a segfault when a continuation allocated during caml_callback is promoted by a minor collection and then dropped, leaving a stale return address visible to compaction.
caml/osdeps.h (PR #14342): Merged fix making the header self-standing by moving <caml/misc.h> and <caml/memory.h> includes outside the CAML_INTERNALS guard, restoring compilation for stubs that include only osdeps.h.
Memprof segfault (Issues #14340, #14341): Two open reports of segfaults when calling Printexc.backtrace_slots or writing runtime events from memprof callbacks at high sampling rates, reproduced on OCaml 5.3.0 and 5.4.0.