Thicket thicket
ocaml
REPOS 27
W36.2025 · 1–7 Sep

All repository summaries

15 active · 12 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Features

  • Eio: Merged PR #803 adds setuid and setgid fork actions, allowing spawned child processes to run as a different user or group.

Fixes

  • Eio issue #788: Updated 2025-09-06. An undated comment links the parallel writev "Interrupted system call" error to a potential io_uring issue and references an ocaml-uring workaround; the comment date is unavailable, so its posting within this interval is unconfirmed.

ocaml-multicore/eio-trace

Permalink

Features

  • eio-trace: Merged a Nix flake enabling nix run github:ocaml-multicore/eio-trace for dependency-free invocation. (#45, talex5)

ocaml-multicore/ocaml-uring

Permalink

Features

  • ocaml-uring: adds Uring.Setup_flags module, allowing flags such as single_issuer and defer_taskrun to be passed to Uring.create. Merged 2025-09-06; addresses a taskrun issue tracked in #788. (#122)

  • ocaml-uring: adds mkdirat to the Uring API. Merged 2025-09-01. (#120)

ocaml/dune

Permalink

Features

  • Dune OxCaml parameterized libraries: Merged detection of the parameterised_modules compiler config flag and exposure of the ox config parameter. The feature requires OxCaml; standard OCaml is unaffected. (#12393, #12236)

  • Dune RPC formatting: Merged support for formatting dune files via RPC while the watch server is running. Enables editor integrations to format without stopping the build. (#12064)

  • Dune TUI: Open PR adds horizontal mouse scrolling to the scrollbox widget, making large messages easier to view. Tested with a trackpad. (#12386)

Fixes

  • Dune pkg compiler cache: Since 3.20.0, dune build rebuilds the OCaml compiler on every run because the toolchain is non-relocatable. Workaround: avoid dune clean; use rm -rf _build/default instead. (#12390)

  • Dune pkg lock: dune pkg lock can select packages requiring a newer dune language version than the running dune, causing build failures. Reported with dune-configurator.3.20.1 under dune 3.19.1. (#12381)

Compatibility and Releases

  • Dune 3.20.2: Released with fixes for jsoo separate compilation with modules_without_implementation, runtest-js dependency resolution, empty .cram.test.t directory cleanup, and Cygwin bootstrap. (release)

  • Dune pkg lock directories: Open WIP PR copies lock directories into the build folder before package rules. Prerequisite for moving lock dirs to _build by default, reducing worktree pollution. (#12394)

  • Dune documentation: Merged an "edit on GitHub" button on all documentation pages, linking to the main branch. Lowers the barrier for community doc contributions. (#12398)

ocaml/merlin

Permalink

Features

  • Merlin (proposal, PR #1951): adds a locate_type_multi query returning a tree of identifier locations for compound types (e.g. a -> (b * c)), extending the existing locate_type which only resolves top-level Tconstr names. Opened by @liam923 for VSCode "Go to Type Definition" support; still open, not merged.

ocaml/ocaml

Permalink

Features

OCaml trunk: include functor F proposal adds a structure item that applies a functor to the current module contents, eliminating boilerplate submodule duplication. Open for Language Committee review. #14177

OCaml trunk: --no-inter-tail-calls flag proposal disables interprocedural tail-call optimization in ocamlopt and ocamlnat, improving stack-trace readability for profilers. Open for review. #14186

Compatibility

OCaml trunk: the partial-match warning now triggers for GADT indices using local abstract types, a behavior change from the Type_external work. Use type a = private A as a workaround. #14224

Performance

OCaml 5.2: unmarshal-heavy workloads (e.g. Coq Require) were 30–40% slower than OCaml 4 due to excessive major GC slices; resolved by Gc.ramp_up/Gc.ramp_down in #13861.

Fixes

OCaml 5.4: fixes C++ name-mangling of caml_state on Cygwin by using _Thread_local instead of C++ thread_local in C++ mode. Merged to trunk and 5.4. #14220

OCaml trunk: fixes nonsensical functor error messages that reported identical types as incompatible due to a missing equality in the inclusion-check environment. Merged; to be cherry-picked to 5.4. #14221

OCaml 5.4: restores correct toplevel printing of qualified variant constructors and record labels, which previously displayed Lib__Module instead of Lib.Module. Merged to trunk and 5.4. #14192

OCaml 5.4: fixes st_stubs.c compilation with mingw-w64 13.0.0 by ensuring WINPTHREADS_USE_DLLIMPORT is defined before all header includes. Merged. #14223

ocaml/ocaml-lsp

Permalink

Fixes

ocaml-lsp v1.23.0: hover on method calls returns "No information available" with OCaml 5.3.0. Reported in issue #1552; type-enclosing yields the correct type.

ocaml/ocaml.org

Permalink

Features

  • ocaml.org newsletter: Merged addition of OCaml Platform Newsletter entries for May through August 2025. (#3290)

Infrastructure

  • ocaml.org build: Open PR to replace the opam-based build with Dune Package Management (dune pkg). Requires dune >= 3.20; contributors must delete existing opam switches before running make. (#3281)

Open issues

  • ocaml.org package docs: Image assets in odoc-generated package documentation (e.g. memprof-limits) fail to render; the Varnish response is missing the content-type: image/svg+xml header. (#3294)
  • ocaml.org package docs: KaTeX-based math formatting in odoc-generated package documentation does not render; the katex script is absent from the generated HTML. (#3233)

Fixes

  • ocaml.org docs: Merged fix for the broken "Memory Representation of Values" link on the Compiler Backend page. (#3296)
  • ocaml.org docs: Merged fix for the broken "Odoc for Authors" link on the Tour of OCaml page. (#3295)
  • ocaml.org docs: Merged fix for the broken "Memory Representation of Values" link on the GC documentation page. (#3292)
  • ocaml.org videos: Merged fix to video filtering that was incorrectly including or excluding entries. (#3289)

ocaml/odoc

Permalink

Fixes

  • Odoc 3.1.0: Open issue reports that odoc_driver resolves relative page links (e.g. {{!page-index}}) to a library-generated page rather than the .mld file, unlike dune build @doc. No fix merged yet. #1384

ocaml/opam

Permalink

Features

opam update (PR #6614, open): Loads only changed .opam files during opam update instead of the full repository. Reduces update time from ~10 s to ~0.01 s on Windows and ~3.5 s to 1 ms on Unix. Link

opam OCaml 5.5 support (PR #6670, open): Adds build and test-matrix support for the OCaml 5.5 beta. Queued behind other pending changes. Link

OpamHash.check_string (PR #6661, merged): Adds a check_string function to the OpamHash module, extracted from the larger pkg:opamfile fix. Link

Compatibility and Releases

opam lock file enrichment (issue #6668, open): Proposes embedding a hash of each .opam file in lock files so CI can detect same-version metadata changes. Marked as an opam 3.0 design item. Link

Fixes

opam remove --force (PR #6672, open): Prevents opam remove --force from executing removal commands in the current working directory. Fixes #6570. Link

pkg:opamfile computation (PR #6659, open): Corrects the pkg:opamfile variable so its value matches the documented specification. Fixes #5346. Link

0install solver on Windows (issue #6674, open): The default builtin-0install solver installs mingw-w64-shims and an extra C compiler that builtin-mccs+glpk does not, producing inconsistent dependency sets. Link

flexlink missing on Windows (issue #6669, open): A fresh opam 2.4.1 install on Windows 11 leaves flexlink.exe absent, causing all native linking to fail. opam switch reinstall restores the binary. Link

ocaml/opam-repository

Permalink

Features

  • scope 1.0: new OCaml image file viewer package, merged. Supports common image formats and basic controls. PR
  • memprof-limits 0.3.0: new package providing per-thread memory limits, allocation limits, and thread cancellation via Statmemprof. PR
  • goblint 2.6.0: adds division-by-zero analysis, bitfield domain, C-2PO pointer analysis, and YAML witness generation. PR

Compatibility and Releases

  • boltzgen 0.9.x: upper bound set to OCaml < 5.2 due to Pprintast.tyvar type change; linol also bounded to yojson < 3.0.0. PR PR
  • elpi 3.2.0: removes the fprop sort (use func instead); requires Menhir 20211230 and OCaml ≥ 4.13. PR
  • liquidsoap 2.4.0: merged release of the multimedia streaming toolkit and its language libraries. PR
  • opam-repository (msys2): conf-mingw-w64-gcc-i686 and conf-mingw-w64-gcc-x86_64 are in a conflict class, blocking opam-core installation on MSYS2. Issue
  • opam-repository (ocaml-system): proposal to add ocaml-system for 5.4.0 and 5.5.0 with dev/alpha/beta version matching. PR

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml (wasm): Merged number unboxing within functions (#2069). Avoids boxing numeric values that are never used as boxed, speeding up benchmarks such as almabench and fft.

  • js_of_ocaml (wasm): Opened number unboxing across function calls (#2101). Extends the within-function unboxing to propagate unboxed numbers through call boundaries.

  • js_of_ocaml (wasm): Opened exception optimisation (#2098). Aims to reduce the cost of exception handling in the Wasm backend.

  • js_of_ocaml runtime: Opened direct access to runtime-exported values (#2086). Addresses #177; Wasm compatibility still under review.

Fixes

  • js_of_ocaml (Windows): Opened removal of CRLF line-ending manipulation (#2087). Currently blocked on #63.

Compatibility and Releases

  • js_of_ocaml (wasm): Opened tightening of Wasm primitive type signatures (#2100). Makes the types of several runtime primitives more precise, which may affect code that pattern-matches on those values.

oxcaml/merlin

Permalink

Features

Merlin (oxcaml): Merged option to suppress type annotations in the outline query, letting LSP clients consume Merlin's outline directly rather than maintaining an ad-hoc implementation. #183

Merlin (oxcaml): Open extension of syntax hover to document oxcaml-specific constructs (modes, modalities); full support is blocked on typedtree location info tracked in internal ticket 4845. PR #168

Fixes

Merlin (oxcaml): Open fix for an exponential-time path in the short-paths algorithm that produced 40-minute delays in large codebases, rendering Merlin unusable. Reviewer proposes a narrower is_defined check as an alternative. #182

oxcaml/opam-repository

Permalink

Features

  • Oxcaml / js_of_ocaml toplevel: Merged 2025-09-05, enabling the js_of_ocaml toplevel on the Oxcaml compiler via patches contributed by @patricoferris. Patches unified across all js_of_ocaml packages. (#7)
  • Oxcaml / odoc and eio: Merged 2025-09-05, adding patched odoc (master commit with accumulated patches) and eio to support odoc_driver. Also patches ocaml-lsp-server for the latest odoc-parser. (#8)

Fixes

  • Oxcaml / mdx patch: Merged 2025-09-05, updating the mdx patch for compatibility with a newer Oxcaml build. (#9)
  • Oxcaml / js_of_ocaml install: Opened 2025-09-06 by @matthewelse to correct a bad patch that caused js_of_ocaml installation to fail. Not merged within the reporting interval. (#11)

Compatibility and Releases

  • Oxcaml / utop: Merged 2025-09-05, upgrading the utop package in the Oxcaml opam repository. (#10)

oxcaml/oxcaml

Permalink

Features

  • OxCaml DWARF shapes: merges type shapes into the compiler's shape mechanism, enabling functor-aware DWARF emission via .cms files. Guarded behind -shape-format debugging-shapes. (#4398, merged)
  • OxCaml shrink-wrapping: proposes moving epilogues earlier via dataflow analysis to find the earliest valid placement on each path. May increase code size through epilogue duplication. (#4655, open)
  • OxCaml phantom variables: proposes tracking optimized-away variables from Cmm through CFG and Linear to emit DWARF location descriptions. Enables debuggers to reconstruct values of eliminated temporaries. (#4595, open)
  • OxCaml [@regalloc] attributes: proposes per-function register allocator selection via [@regalloc], [@regalloc_param], and [@cold] annotations. Refactors handling from earlier closed PRs #4583, #4631, #4632. (#4633, open)

Fixes

  • OxCaml Flambda2 classic mode: fixes out-of-order symbol definitions where non-closure symbols bypassed the SCC ordering algorithm. The ill-formed terms previously broke JSIR translation. (#4629, merged; fixes #4628)
  • OxCaml runtime: fixes a race in caml_callback where a promoted continuation could be traversed by GC compaction with a stale return address, causing a segfault. (#4609, merged)
  • OxCaml block indices: eliminates unnecessary caml_modify calls when writing through a block index, reducing GC write-barrier overhead for unboxed types. (#4644, merged)

Compatibility and Releases

  • OxCaml DWARF: adds -dwarf-pedantic flag; DWARF emission errors in dwarf_type.ml are now non-fatal by default, allowing compilation to proceed past unreachable cases. (#4555, merged)
12 repositories · no changes