Thicket thicket
ocaml
REPOS 27
W44.2025 · 27 Oct – 2 Nov

All repository summaries

12 active · 15 unchanged

Back to weekly digest

ocaml-multicore/picos

Permalink

Features

  • picos (PR #375): proposes adaptive backoff for the multi-producer multi-consumer queue (mpmcq). Opened by polytypic 2025-10-30; still open.
  • picos (PR #371): replaces the Awaitable-based condition variable in Lock and Rwlock with an atomic counter for signal detection. Ongoing; updated 2025-11-01.

Compatibility and Releases

  • picos (PR #377): upgrades the benchmark harness to run under OCaml 5.4. Merged 2025-11-01.

ocaml/RFCs

Permalink

Features

  • OCaml RFC #52: proposes a [%call_pos] attribute that auto-fills a Lexing.position parameter with the call-site source position. Still open; progress pending on Jane Street's internal representation investigation. (#52)

ocaml/dune

Permalink

Features

  • Dune parameterized libraries: PR #12561 adds instantiation of parameterized libraries via (my_lib arg1 arg2 :as new_name) in dependencies. Requires OxCaml; not yet available in upstream OCaml.

  • Dune cram setup_scripts: PR #12650 adds a setup_scripts field to the cram stanza, auto-sourcing listed shell scripts in every test in the directory.

  • Dune %{cmt} artifact variables: PR #12634 adds %{cmt} and %{cmti} to artifact variables in custom rules, enabling direct references to type-checking artifacts.

  • Dune pkg autolocking: PR #12653 introduces automatic lock-directory generation when (pkg enabled) is set and no lock source is present, removing the need for explicit dune pkg lock.

Fixes

  • Dune Merlin config loading: PR #12621 fixes incorrect .merlin file selection when multiple executables share a directory, resolving wrong obj_dirs passed to the editor.

  • Dune portable lockdirs: PR #12641 removes Windows arm64 from the default platform set, reducing solver runs. PR #12654 extends this to all Windows platforms.

  • Dune melange @all alias: PR #12628 includes Melange .cmj artifacts in the @all alias, fixing missing module compilation for (using melange 1.0) projects.

Compatibility and Releases

  • Dune lockdir rename: PR #12648 proposes renaming dune.lock to .dune-solution-cache to discourage version control of non-portable lock directories. Awaiting resolution on portable lockdir defaults.

ocaml/merlin

Permalink

Fixes

  • Merlin (PR #1978): Merged fix for complete-prefix returning empty results on inlined record fields in variant constructors. Closes #1977.

  • Merlin (issue #1983): Open bug: the document command concatenates docstrings of consecutive variants or record labels rather than returning only the target entry.

Compatibility and Releases

  • Merlin (PR #1984): Open proposal to upgrade ocamlformat to 0.28.1. Labeled "no changelog."

  • Merlin (PR #1985): Open proposal to add tests for OCamlformat patches, related to the 0.28.1 upgrade in #1984.

ocaml/ocaml

Permalink

Features

OCaml trunk: merged support for GADT existentials in as-patterns within or-patterns, e.g. (Value_int _ | Value_snd (Ok _)) as y. Previously a type error. #14327

OCaml trunk: proposed spellchecking hints in module signature mismatch errors, suggesting close matches for misspelled identifiers. #14330

OCaml trunk: proposed deprecation of sock_addr_union and socklen_param_type in favour of struct sockaddr_storage and socklen_t. #14310

Compatibility and Releases

OCaml trunk: proposed GC work-accounting corrections for marking and sweeping, a prerequisite for the new GC pacing logic tracked in issue #14324. #14329

Fixes

OCaml 5.5: merged removal of undocumented let rec (_ as x) = ... pattern support, a side-effect of an earlier desugaring. Marked as breaking in the changelog. #14322

OCaml trunk: proposed fix for data races in the CamlinternalOO class cache by making init_table fields atomic. Addresses TSan reports from multicore programs using objects. #14333

OCaml trunk: merged fix for missing TSan instrumentation on load-operation payloads, which could produce false-positive race reports. #14332

OCaml trunk: merged fix for nontermination of ocamlopt -short-paths on recursive modules with cyclic type abbreviations. #14037

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp: renames the nested-bindings configuration parameter from for_nested_bindings to forNestedBindings, fixing malformed display in the VSCode options panel. Merged 2025-10-27. (#1568)

Compatibility and Releases

  • ocaml-lsp: upgrades the ocamlformat dependency to 0.28.1. Merged 2025-10-27. (#1569)

ocaml/ocaml.org

Permalink

Features

OCaml.org build (PR #3281): Open PR migrating the site build from opam-based dependency management to Dune Package Management. Requires dune >= 3.20; contributors must delete existing opam switches before running make. Link

OCaml.org docs (PR #3378): Open PR adding pages describing all OCaml compilation targets (native, bytecode, etc.) with links to Dune and compiler reference documentation. Link

Backstage OCaml (PR #3379): Open PR adding a post explaining how the opam-repository works, covering maintenance-intent metadata, archiving, and multi-client consumption (dune, esy, Nix). Under active review. Link

Fixes

OCaml.org PPX tutorial (PR #3382): Merged removal of a redundant environment-variable explanation and an inaccurate Windows USER claim from the PPX tutorial. Link

Compatibility and Releases

OCaml Workshop 2025 (PR #3384): Merged update adding post-event talk listings and programme-committee member names to the workshop page. Link

OCaml.org success stories (PR #3336): Open PR adding a case study on Ahrefs' full-stack web application built with OCaml. Link

ocaml/opam

Permalink

Fixes

  • opam 2.5.0-alpha1: PR #6765 corrects vendored archive placement in the -full release tarball; archives were at the top level instead of src_ext/archives. Backport #6766 targets the 2.5 branch.

  • opam installer: PR #6764 checks for AppArmor abi/4.0 before installing the profile, fixing parser failures on Debian bookworm where only abi/3.0 is present.

  • opam install.sh: PR #6760 reworks the AppArmor section: replaces mv+chmod+chown with install, cleans temporary files, and fixes the profile-replacement option.

  • opam installer: PR #6761 extends opam-installer to honour --bindir, --sbindir, and other ./configure directory options, resolving #6759 where binaries always landed in $prefix/bin.

Features

  • opam (proposal): Issue #6642 proposes deduplicating archive-mirrors across repositories, exposing values in opam option, and adding an opam admin edit-repo-file command.

  • opam (proposal): Issue #6683 proposes suppressing identical post-install messages on reinstall or upgrade; a maintainer-controlled variable is under discussion.

  • opam CI: PR #6684 adds OCaml 5.4 and trunk to the GitHub Actions test matrix; a Cygwin error-handling issue remains unresolved.

ocaml/opam-repository

Permalink

Features

qcaml, oplot, flux: three new package submissions opened this week. qcaml (quantum computing simulation, v0.1.3) and oplot (mathematical plotter, v0.85) are open; flux (composable streaming, v0.0.1~beta1) is open pending a Windows availability constraint. qcaml, oplot, flux

Tezt 4.3.0: merged after a SIGPIPE bug in lib_scheduler was identified and fixed via a 10-second wakeup timer. The release tag was re-cut to incorporate the fix. #28791

Fixes

OCaml 5.4.0 avoid-version: the stale avoid-version flag on ocaml.5.4.0 was removed, restoring installability of the released compiler. Resolves issue #28786; fix merged same day. #28787

conf-gmp old packages: broken conf-gmp versions that fail under modern GCC (__gmp_init implicit declaration) were removed from the repository. #28775

Compatibility and Releases

Binaryen 0.27.0 / libbinaryen 117–121: merged with breaking changes: binaryen now requires jsoo >= 6.0 and node >= 22; libbinaryen.122.0.0 (open) additionally drops OCaml 4.12. Versions 0.28–0.31 and libbinaryen 122–124 are open. #28797, #28809

ansifmt 2.0.0: open major release rewriting Fmt atop rich-string; drops Fmt.show and serialization, renames Fmt.print's ending parameter to Fmt.t option. CI green after a floating-point tolerance fix. #28803

os-family constraint correction: several packages (rocqide, coqide, coq-lsp, rocq-runtime) used the invalid os != "windows" test; the fix replaces it with os-family != "windows". Open. #28805

conf-ffmpeg on CentOS 9 / Fedora 41: the system package was renamed to ffmpeg-free-devel on those releases; a PR adjusts the depext accordingly. Open, with EPEL repo still missing on CentOS. #28814

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml Wasm runtime: open PR by vouillon adds access to the JavaScript eval function in the Wasm backend. Reviewers identified an incorrect indirect call in the existing Wasm code path. (#2108)
  • js_of_ocaml runtime: open PR by hhugo proposes direct access to values exported in the runtime, addressing LexiFi/gen_js_api#177. Naming and API shape are under discussion. (#2086)
  • js_of_ocaml Oxcaml: open PR by vouillon adds Oxcaml support. No further details provided in the PR body. (#2105)

Fixes

  • js_of_ocaml: merged PR fixes the exit code of jsoo_minify and wasmoo_link_wasm so build scripts receive correct failure signals. (#2121)
  • js_of_ocaml v5.5.0: open bug report describes a stack overflow in Chrome when running menhir-generated parsers compiled with js_of_ocaml. The issue does not reproduce in Safari or Node.js. (#2122)

oxcaml/opam-repository

Permalink

Fixes

  • oxcaml opam-repository: merges a repatch for js_of_ocaml iarray. Recent opam versions use stricter patch validation than GNU patch; the publishing code now matches that logic. (#19)
  • oxcaml opam-repository: removes the [%%if] patch for the jsoo toplevel. The internal jsoo uses ppx_optcomp, which already supports the syntax, so the patch broke the build. (#20)

oxcaml/oxcaml

Permalink

Features

OxCaml DWARF phantom variables: Open PR adds support for emitting DWARF location descriptions for optimized-away variables reconstructed from Cmm through CFG and Linear. Enables debuggers to display values of variables eliminated by optimization; gated behind !Dwarf_flags.restrict_to_upstream_dwarf. #4595

OxCaml mod contended inference: Open PR introduces limited inference that marks specific let-bound values as crossing contention boundaries, even when their type does not generally cross. Inference bails out at function calls; annotations and pattern variables are deferred to follow-up PRs. #4929

OxCaml Domain.self_index: Open PR exposes caml_ml_domain_index as Domain.self_index, enabling per-domain array indexing to avoid contention. Mirrors upstream #13171. #4950

OxCaml Flambda2 relations as projections: Merged PR stores Is_null, Is_int, and Get_tag as fields of value-kind types, enabling precise tracking during n-way join. This is a prerequisite for the match-in-match heuristic. #4390

OxCaml speculative inlining profiler: Merged PR adds a profiling pass that records speculative inlining decisions, aiding analysis of inlining behaviour. Notes that nested speculative inlining may have been unintentionally enabled by a prior change. #4375

Fixes

OxCaml parameter module aliases: Open PR disallows aliases to functor parameters, preventing miscompilation where substitution through a coercion projects the wrong module member. Closes a segfault path in parameterized libraries. #4948

OxCaml to_cmm re-ordering: Open PR adds a validity criterion to to_cmm_env that prevents substitutions which would change observable program semantics. Also fixes lost bindings from incorrect flush_delayed_lets calls. #4941

OxCaml native Dynlink parameterised modules: Merged PR switches native Dynlink from name_as_string to full_path_as_string, so instances differing only by functor arguments are no longer conflated. Bytecode backend was already correct. #4935

15 repositories · no changes