Thicket thicket
ocaml
REPOS 27
W19.2025 · 5–11 May

All repository summaries

16 active · 11 unchanged

Back to weekly digest

janestreet/opam-repository

Permalink

Features

  • Oxidizing OCaml (with-extensions): Rust-style borrowing operator is not yet implemented. An initial PR (#1997) exists but is described as out of date; work is deferred to later this year or next year. (issue #43)

  • Oxidizing OCaml uniqueness mode: discrepancy reported between the LSP and dune build for @ unique annotations; the compiler flags an aliasing error the LSP does not. Issue opened 2025-05-08, resolution pending. (issue #44)

Fixes

  • ocaml-variants arm64 runtime: PR opened 2025-05-09 to backport an effects-and-locals fix from 5.2.0minus-9, preventing corrupted local stacks and segfaults on arm64. Not yet merged. (#45)

  • ocaml-variants arm64 build: earlier PR closed 2025-05-09 as the END_FUNCTION directive fix is included in the updated compiler. (#36)

ocaml-multicore/domainslib

Permalink

Features

  • domainslib PR #97: Open proposal for a Task.yield primitive letting a task voluntarily cede its domain, addressing deadlock risk in lock-free inter-task communication. Updated 2025-05-07; not merged. Link

ocaml-multicore/picos

Permalink

Features

  • picos: merged PR #366 (by polytypic) to benchmark queues with heap-allocated blocks, exposing write-barrier costs previously hidden by immediate-value-only tests.

ocaml-multicore/saturn

Permalink

Features

  • Saturn (ocaml-multicore): PR #185 opened by polytypic to benchmark queues and stacks with heap-allocated blocks rather than immediate values, exposing write-barrier costs relevant to the multicore runtime.

ocaml/RFCs

Permalink

ocaml/RFCs: No activity within the 2025-05-05 to 2025-05-12 interval is evidenced. PR #54 "Transparent ascription" was opened 2025-04-11 and remained open; its only recorded update is dated 2025-07-05, outside the interval. The single comment is undated and cannot be placed within the window.

ocaml/dune

Permalink

Compatibility

  • Dune 3.18.2 (Windows): opam install dune fails on Windows 10 with a permission-denied error when copying dune.exe into the opam switch bin directory. Reported as an open issue; no fix identified. #11769

ocaml/merlin

Permalink

Fixes

  • Merlin outline (LSP): fixes class type handling so that class type fields appear correctly in the document outline returned to editors such as VS Code. Merged 2025-05-07 by Tim-ats-d. #1932

ocaml/ocaml

Permalink

Features

OCaml trunk (atomic record fields): Merged 2025-05-07. Record fields can now be marked [@atomic]; reads and writes compile to atomic operations. The [%atomic.loc] syntax and Atomic.Loc submodule expose get, set, exchange, compare_and_set, fetch_and_add, incr, and decr on atomic field locations. No make_contended analogue exists for record fields yet. #13404

Unix.unsetenv: Merged 2025-05-10. Adds Unix.unsetenv : string -> unit to remove a variable from the process environment. Uses _wputenv_s on Windows. #14020

Option.product and Option.Syntax: Merged 2025-05-10. Adds Option.product : 'a option -> 'b option -> ('a * 'b) option and an Option.Syntax submodule with binding operators, mirroring the existing List.Syntax and Seq.Syntax. #13916

Dynarray.unsafe_to_iarray: Merged 2025-05-06. Adds Dynarray.unsafe_to_iarray : capacity:int -> ('a t -> unit) -> 'a Iarray.t, converting a dynarray to an immutable array without copying. Safe in single-domain settings; available in 5.4. #13909

Fixes

Demarshaling memory corruption: Merged 2025-05-06. Marshal.from_string could segfault when a GC was triggered by exception allocation mid-demarshal, because a partially initialized block was registered as a GC root. The fix removes the spurious CAMLlocal1 registration. Backport to 4.14, 5.3, and 5.4 planned. #14015, issue #14007

Domain.spawn deadlock on failure: Merged 2025-05-10. If child-domain initialization failed, the domain lock was not released, causing a permanent deadlock on the next Domain.spawn call. The lock is now released on the failure path. #13953

OCaml 5.4 type_approx regression: Merged 2025-05-11. A labeled-tuples change in 5.4 caused type_approx to drop type constraints inside tuples for mutually recursive functions, producing a misleading error on the tuple element instead of the use site. The fix restores 5.3/trunk behaviour. #14021

Compatibility and Releases

Compaction race condition (proposal): Opened 2025-05-11. Terminating domains orphaned their shared-heap pools after leaving the STW participant set, so the compactor could run while pools were in an untracked state, causing segfaults or assertion failures. The proposal moves the orphaning step before STW exit. Not yet merged. #14025, issue #13739

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp PR #1527: merged 2025-05-07; adds support for a new outline symbol kind to restore compatibility with merlin main. Link

  • ocaml-lsp issue #1526: open bug report; inlay hints do not appear for let bindings inside function bodies with a () parameter. Link

Features

  • ocaml-lsp PR #1528: open proposal to format .mlx files via ocamlformat-mlx, invoked outside dune. Link

Compatibility and configuration

  • ocaml-lsp issue #1522: open proposal to make --fallback-read-dot-merlin the default, removing the need to know in advance whether a project uses dune. Link

  • ocaml-lsp issue #1206: ongoing request (updated 2025-05-09) to support topiary as an alternative to ocamlformat for formatting. Link

ocaml/ocaml.org

Permalink

Fixes

  • ocaml.org package pages: the "Dune Dependency" field renders the value in parentheses (e.g. (dream-html)) rather than as a bare library name; the field actually represents the dune-project dependency. Reported by @yawaramin; still open. #3089

  • ocaml.org documentation: ppx_minidebug 2.2.0 has no documentation on ocaml.org despite a successful GitHub Actions deployment; MDX metadata warnings were noted during the build. Reported by @lukstafi; still open. #3096

ocaml/odoc

Permalink

No repository activity falls within the 2025-05-05 to 2025-05-12 interval. The sole supplied record (odoc PR #1321) was created on 2025-02-26 and merged on 2025-06-18, both outside the window.

ocaml/opam

Permalink

Features

opam 2.4.0~alpha2: opam switch create now excludes compiler packages flagged avoid-version or deprecated from the generated invariant. Release notes

Compatibility and Releases

opam 2.4.0~alpha2: removes the OPAMSTATS environment variable, the OpamFile.Stats module, OpamSystem.print_stats, and the OpamClientConfig STATS variant. Release notes

opam 2.4.0~alpha2: the install script now lists 2.4.0~alpha2 as a selectable version. #6511

opam prebuilt binaries: PR opened to update build platforms to Alpine 2.21, FreeBSD 14.3, OpenBSD 7.7, and NetBSD 10.1; not yet merged. #6510

opam (PR #6515): open PR proposing GC-pressure reductions in version comparison and redundant switch-selection I/O during opam show; not yet merged. #6515

Fixes

opam 2.4.0~alpha2: fixes an extreme performance regression where applying a large repository update took several hours. Release notes

opam 2.4.0~alpha2: fixes a memory leak triggered by running many commands or opening many opam files. Release notes

opam 2.4.0~alpha2: fixes crashes when updating repositories that add or delete empty files, and when a git repository moves a file to a new directory. Release notes

ocaml/opam-repository

Permalink

Fixes

  • opam-repository: PR #27865 opens a fix for conf-mariadb.2 Windows build failure caused by a missing pkg-config path. Still open at interval end.

ocsigen/js_of_ocaml

Permalink

Features

js_of_ocaml optimization scheduling: Merged restructured pass ordering (phi, flow, specialize, eval) for better convergence under --opt 1. #1962

js_of_ocaml block merging: Merged a pass that combines adjacent blocks before optimization, reducing block count by ~28% on lwt toplevel. #1967

Compatibility and Releases

js_of_ocaml ppxlib: Now builds with ppxlib 0.36; the test suite still requires ppxlib < 0.36. #1866

wasm_of_ocaml Safari 18.4: Open bug: generated modules fail WebAssembly validation with a tail-call return-type mismatch. #1975

Fixes

js_of_ocaml register coloring: Merged a rewrite removing a bottleneck in the coloring algorithm, significantly reducing compilation time. #1971

js_of_ocaml memory usage: Merged compaction of sparse Addr.t blocks, reducing peak memory by 3–5% on large programs. #1968

js_of_ocaml 6.0.1 Js_error: Js_error.raise_ with effects and --disable excwrap now raises an Error object instead of a continuation. Fixed by PR #1917. #1970

wasm_of_ocaml 6.0.1: Fixed Int32.to_int conversion where Int32.of_string_opt "0x80000000" produced 0 instead of -2147483648. #1955

oxcaml/merlin

Permalink

Compatibility and Releases

  • Merlin (oxcaml/merlin): PR opened to update for OCaml 5.2.0minus-10; magic number bumps only, no type-checking changes. Still open at interval end. (#144, ccasin)

oxcaml/oxcaml

Permalink

Fixes

  • oxcaml #3574: Closes an intermittent arm64+greedy miscompilation, resolved by flambda-backend PR #3960. The trigger was adding an unused field to an unrelated type. (issue)
11 repositories · no changes