Thicket thicket
ocaml
REPOS 27
W30.2025 · 21–27 Jul

All repository summaries

13 active · 14 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Fixes

  • Eio 1.3 Windows build: Issue #816 opened 2025-07-25 reports a link failure on Windows caused by unresolved symbols (eio_windows_cstruct_read, eio_windows_cstruct_write) in an unused module. PR #817 by talx5, removing the unused unix_cstruct.ml file, was opened the same day; it merged after this interval.

ocaml-multicore/picos

Permalink

Features

  • Picos (ocaml-multicore): #374 reports poor scaling of the random scheduler on an embarrassingly parallel tree-map benchmark; the multififo scheduler scales well. The random scheduler is intended for testing, not performance-critical workloads.

ocaml/dune

Permalink

Features

Dune RPC (PR #12064): Opens a path to allow ocamllsp formatting requests while the dune watch server is active, removing the need to stop the server before formatting. Merged 2025-09-08. Link

Dune shared cache (issue #12071): Proposes using FICLONE/copy_file_range in the copy storage mode so that btrfs, zfs, and xfs reflink transparently avoid duplicating _build contents into the cache. PR #12074 opened for implementation. Link

Compatibility

Dune 3.19.1 on ppc64-Darwin (issue #12063): Bootstrap segfaults in Unix.realpath on macOS 10.5.8 / OCaml 4.14.2 (bytecode-only). Maintainers suspect the fault is in the OCaml runtime rather than dune. Open. Link

Rocq 9.0 (issue #12056): Requests an implicit Stdlib theory dependency for (coq.theory …) on Rocq ≥ 9.0 so a single dune file works across versions. Closed 2025-07-22; no plans to address, patches for a general conditional-dependency mechanism welcome. Link

Fixes

Dune 3.19.1 (issue #12057): Corrects the interface-mismatch error that named the .ml file as the interface instead of the .mli. The fix switches to -cmi-file on OCaml ≥ 5.0, replacing the -intf-suffix .ml workaround. Closed 2025-07-28. Link

Dune bootstrap (issue #12075): make release crashes with Unexpected_find_result for the pp library on OCaml 4.14.2 / Arch Linux. Open; a maintainer suggests make bootstrap as a workaround. Link

ocaml/merlin

Permalink

Features

  • Merlin locate-type-multi (PR #1951): adds a locate-type-multi protocol command returning a tree of all identifier locations within a type expression. Opened 2025-07-22 by liam923; still under review for VSCode "Go to Type Definition" integration. Link

Fixes

  • Merlin type recovery (issue #1953): reports that structure-item type recovery drops entire recursive definition blocks when a single item errors. Opened 2025-07-26 by trefis; proposes per-definition recovery within let rec blocks. Link

Compatibility and Releases

  • Merlin query_protocol_kernel (PR #1952): refactors type definitions and serializers into a query_protocol_kernel directory for js_of_ocaml compatibility. Adds ppx_jane as a dependency; opened 2025-07-23, closed unmerged 2025-08-25. Link

ocaml/ocaml

Permalink

Features

  • OCaml trunk (polymorphic parameters): Merged. Functions can now take parameters with polymorphic types, e.g. val f : ('a. 'a -> 'a list) -> int list. An explicit annotation is required; unannotated parameters remain monomorphic. #13806

  • OCaml trunk (Hashtbl): Merged. Adds Hashtbl.remove_mem and Hashtbl.replace_mem, which return the previous binding (if any) in addition to performing the mutation. Avoids a separate find_opt call. #14060

  • OCaml trunk (module patterns): Merged. The parsetree now distinguishes (module M : S) from (module M) : (module S) in patterns. This is a prerequisite for modular explicits and affects ppxlib consumers. #14149

  • OCaml trunk (minor heap reservation): Proposed. Reserves minor-heap address space for 1 domain initially, then 8, 16, 32, … doubling to max_domains, instead of reserving for all 128 domains up front. Addresses crashes in Rocq/Why3 under constrained virtual-memory limits. #14162

Fixes

  • OCaml 5.4 (symbol mangling): Merged. Reverts to . as the module separator in symbol names on non-Apple Unix systems, restoring perf and flamegraph.pl compatibility that broke in 5.4.0~alpha1. Apple systems keep the $ scheme for lldb. #14143

  • OCaml trunk (shared-heap GC): Merged. Free blocks in the shared heap are now run-length encoded, making sweep time proportional to the live fraction rather than total pool size. Benchmarks show up to 3.85× speedup on sparse heaps; dense heaps see a small regression. #13616

  • OCaml trunk (minor heap arena): Merged. Fixes incorrect decommit of a domain's minor heap when it leaves the STW participant set, and a follow-up bug where stw_resize_minor_heaps_reservation zeroed the arena size before re-allocation. #14158, #14164

Compatibility and Releases

  • OCaml trunk (Gc.stat): Proposed. Adds a field tracking total bytes held by live fibers (active, suspended, or parked in the cache), repurposing the previously unused stack_size slot. #14168

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp: proposes a wrap-type-in-module code action that wraps type declarations in a module containing a type t. Open PR by fprasx; maintainers suggest a parsetree-based implementation via Merlin instead. #1547

Fixes

  • ocaml-lsp: draft PR replaces a previously broken extract code action with a new implementation backed by a Merlin command. A companion draft adds the corresponding custom query. Both remain open and unmerged. #1546, #1545

ocaml/ocaml.org

Permalink

Fixes

  • ocaml.org API docs: high memory usage (615–850 MB) on package documentation pages resolved; usage now reports around 57–208 MB. #3150 closed 2025-07-24.

Compatibility and Releases

  • ocaml.org release announcements: revert of the removal of alpha/beta/rc changelogs opened, adding unstable: true flags and re-adding removed release announcements. #3226 opened 2025-07-22; merge pending at interval end.

Features

  • ocaml.org changelogs: opam 2.4.1 changelog added to the site. #3228 merged 2025-07-25.
  • ocaml.org changelogs: opam 2.4.0 changelog added; alpha changelogs in the wrong directory were removed. #3223 merged 2025-07-22.

ocaml/opam

Permalink

Features

  • opam update performance (PR #6614, open): loads only changed opam files during opam update instead of the full repository. Reduces Windows repository load from ~10 s to ~0.01 s; Unix from ~3.5 s to ~1 ms.

Compatibility and Releases

  • opam 2.4.1: released 2025-07-23. Binaries signed by the opam dev team (fingerprint 92C5 26AE 50DF 3947 0EB2 911B ED4C F1CA 67CB AA92). See the release notes and blog post for upgrade instructions.
  • opam 2.4.1 install docs (PR #6620, merged): updates installation documentation and switches tarball checksum from sha384 to sha512 to match the rest of the release signing steps.
  • opam 2.4.1 install scripts (PR #6617, merged): adds 2.4.1 to the install scripts.

Fixes

  • opam 2.4.1: fixes pin-depends being ignored on simulated pins (e.g. opam install --deps-only). Backported from master via #6612.
  • opam pin list (PR #6597, open): fixes a crash when the internal source directory of a pinned package does not exist. Regression from #6274.

ocaml/opam-repository

Permalink

Features

  • lwt 6.0.0~alpha01: New submission of lwt and lwt_direct at 6.0.0~alpha01; removal of Lwt_main.*hooks breaks lwt_log and several dependents. PR open, needs reporter action. (#28222)

Compatibility and Releases

  • ocaml-base-compiler 5.0.0: Fails to build on Arch Linux with GCC 15.1.1 due to a prims.h macro incompatibility; other versions and GCC 14 build successfully. Issue open. (#28250)
  • opam switch create: Selecting ocaml-option-tsan causes the solver to install BER MetaOCaml via ocaml-variants instead of the expected compiler variant. Issue open; discussion suggests adding avoid-version flags to metaocaml packages. (#28249)
  • opam-repository archival: Unmaintained package versions are periodically moved to opam-repository-archive, causing "no longer available" errors for dependents. Users can request unarchiving, add the archive as a repository, or pin to a pre-archival tag. (#28216)

ocsigen/js_of_ocaml

Permalink

Fixes

  • js_of_ocaml 6.1.1: PR #2084 (merged 2025-07-22) fixes an assertion failure in js_assign where inlining a recursive function left an unbound variable reference, causing "Some variables escaped" errors. Reported in issue #2083; downgrading to 6.0.1 was the interim workaround.

  • js_of_ocaml Sys_js: #2068 (closed 2025-07-22) confirms that raising an effect inside Sys_js.set_channel_filler triggers Stdlib.Effect.Unhandled at toplevel. The restriction is acknowledged; no code change was made.

  • js_of_ocaml runtime: PR #2082 (merged 2025-07-21) corrects runtime annotations.

Features

  • js_of_ocaml Intl: PR #2070 (open) adds Intl.RelativeTimeFormat bindings per the ECMA-402 spec. Still under review; no merge date.

Compatibility and Releases

  • js_of_ocaml release: PR #2085 ("Prepare for release", opened 2025-07-24) was in progress within this interval; the merge landed on 2025-07-30, outside the reporting window.

  • js_of_ocaml wasm runtime: PR #2081 (closed 2025-07-24, not merged) proposed restoring caml_string_of_array as an alias for caml_string_of_uint8_array. Closed in favour of a new Brr release (opam PR #28256).

oxcaml/merlin

Permalink

Features

  • oxcaml/merlin: Merged support for the [@@@merlin.document] attribute, letting PPX authors attach hover documentation to their syntax extensions in .ml and .mli files. Existing non-PPX document behaviour is unaffected. (#167, merged 2025-07-25, by maxmwang)

  • oxcaml/merlin: Open proposal to extend the syntax doc command with hover descriptions for oxcaml-specific syntax elements. Full support for modes and modalities is deferred pending typedtree location information. (#168, opened 2025-07-23, by liam923)

Fixes

  • oxcaml/merlin: Merged regression tests for jkind type printing, covering aliased declarations such as type t = u = …. (#169, merged 2025-07-23, by liam923)

  • oxcaml/merlin: Opened a merlin locate override for PPXs via [@@@merlin.locate]; superseded by a follow-up PR opened after this interval. (#170, opened 2025-07-24, by maxmwang)

oxcaml/opam-repository

Permalink

Features

  • Oxcaml opam-repository: PR opened by jonludlam enabling the js_of_ocaml toplevel on Oxcaml, incorporating patches from patricoferris. Patches unified across all js_of_ocaml packages. #7

oxcaml/oxcaml

Permalink

Features

  • OxCaml flambda2 n-way join: PR #4369 rewrites the n-way join to follow the underlying algorithm directly, using Datalog's leapfrog join for sub-linear performance when joined levels share few variables. Opened 2025-07-24 by bclement-ocp.
  • OxCaml flambda2 match-in-match: PR #4374 opens a work-in-progress implementation of the match-in-match heuristic, building on the n-way join rewrite. Still open at interval end.

Fixes

  • OxCaml typer: Issue #4323 reports non-linear typing on main (4.57 s for 8192 calls) versus 0.176 s in stock OCaml 5.3. Closed 2025-07-21; no resolution is recorded in the data.
14 repositories · no changes