Thicket thicket
ocaml
REPOS 27
W44.2024 · 28 Oct – 3 Nov

All repository summaries

15 active · 12 unchanged

Back to weekly digest

janestreet/opam-repository

Permalink

No repository activity falls within the 2024-10-28 to 2024-11-04 interval. The sole supplied record (janestreet/opam-repository PR #33) was created and merged on 2024-11-08, outside the reporting window.

ocaml-multicore/eio

Permalink

Features

Eio (Eio.Process.Pipe): PR #775 (open) relaxes pipe return types to accept any subtype of Flow.source_ty and Flow.sink_ty via polymorphic variants, addressing issue #750. A prior attempt (PR #770) was closed unmerged on 2024-10-28.

Eio (Eio.Path.chmod): PR #772 (ongoing, not merged) adds a chmod function with ~follow and ~perm parameters, integrated with the resource abstraction. A failing Windows stub is planned to reduce future implementation burden.

Eio (Eio.Resource type-safety): Issue #774 (open) documents a gap where Obj.magic in Resource.pi permits invalid handler construction to yield wrong-typed values. mbarbin and v-gb propose a functor-based Create approach; a draft branch converts 18 of 22 constructors.

Fixes

Eio (Eio.Net.getaddrinfo_stream): Issue #776 (open) reports that getaddrinfo_stream returns no addresses after ~1019 calls on Linux when connections remain open. Unclosed connections exhaust a Linux resource, causing getaddrinfo to fail silently; closing connections or scoping switches resolves it.

Compatibility and Releases

Eio (Windows test suite): PR #773 (ongoing) enables the main test suite on Windows by removing the Win32 exclusion in tests/dune. Stack overflow failures in MDX tests are under investigation.

ocaml-multicore/picos

Permalink

Features

  • Picos 0.6.0: adds picos_std.awaitable (futex-like abstraction) and lastly as a safe alternative to Fun.protect. Optimizes fiber heap and stack usage. Release
  • Picos PR #321: proposes a bounded blocking Stack data structure. Open, not yet merged. PR

Compatibility and Releases

  • Picos 0.6.0: released 2024-11-01. (Ivar|Stream).poison renamed to poison_at; new poison variant accepts optional ?callstack:int. Release
  • Picos PR #323: OCaml-CI test suite passes on Windows. PR

Fixes

  • Picos 0.6.0: Picos_io_select now raises a proper error when not configured. picos_std.finally forbids cancellation propagation during release calls. Release
  • Picos PR #324: corrects picos_std to depend on picos_aux and upgrades backoff to 0.1.1. PR

ocaml-multicore/saturn

Permalink

Features

  • Saturn (PR #154): Merges a hash table imported from Picos, providing safe and unsafe variants. Adds a new concurrent data structure to the library.
  • Saturn (PR #156): Opens a bounded stack based on the Treiber stack for Saturn 1.0, replacing the earlier blocking variant in PR #155.
  • Saturn (PR #158): Opens additions to the Treiber stack API: of_list, push_all, pop_all, peek_exn, pop_exn, set_exn, and try_compare_and_pop.

Compatibility and Releases

  • Saturn (PR #157): Removes the Relaxed_queue module and the M submodule from Ws_deque, simplifying the API ahead of the 1.0 release.
  • Saturn (PR #68): Closes the rendezvous synchronisation proposal; the author notes the ideas were integrated into DLA and Picos.
  • Saturn (PR #90): Closes the lock-based lazy skiplist, citing that the lock-free variant outperforms it and stdlib mutex issues.
  • Saturn (issue #56): Closes the single-core benchmark tracking issue for comparing domain-safe structures against stdlib equivalents.

ocaml/RFCs

Permalink

Features

  • OCaml memory model (RFC #42): Open proposal by gasche revising the mixed-atomicity model to permit only relaxed reads (not relaxed writes) on atomic locations. A maintainer meeting on 2024-10-28 clarified the reads are weaker than C11 relaxed reads; the RFC text is pending update. #42

  • OCaml unit headers (RFC #26): Open proposal by gasche introducing a %%unit_header extension for compilation-unit-level configuration (e.g. [@@@warning "-missing-mli"], [@@@rectypes]) in source files. A 2024-10-28 maintainer meeting discussed alternative syntaxes such as {%header …} to avoid requiring a full parser to delimit the header. #26

ocaml/dune

Permalink

Fixes

  • Dune 3.16.1: passes -std=c++11 to the C++ compiler when the OCaml version is 5.0 or later, restoring C++ builds that broke under the newer compiler default. (#10962, @kit-ty-kate)

ocaml/merlin

Permalink

Fixes

  • Merlin (PR #1863): voodoos opens a fix for jump-to-fun broken by OCaml 5.2 typedtree representation changes. Merged after this interval. Link
  • Merlin (issue #1862): Reports an assertion failure crash in the LSP server's jump-to-fun feature. Opened 2024-10-31; closed after this interval. Link

Features

  • Merlin (PR #1861): Julow opens a preview PR upgrading to OCamlformat 0.27.0 to gather feedback. Closed without merge after this interval. Link

Compatibility and Releases

  • Merlin (issue #1860): kentookura reports an uncaught exception on workspace/symbol requests, traced to an OCaml compiler version mismatch between the project build and the LSP server. Opened 2024-10-28; still open. Link

ocaml/ocaml

Permalink

Features

  • OCaml major GC (PR #13580, draft): Opens a "mark-delay" patch adding a sweep-only phase at the start of each major GC cycle, reducing latent garbage delay by roughly half a cycle. Upstreamed from oxcaml work by @stedolan. PR

  • OCaml GC "Already Scanned" (issue #13574): Feature request to restore the OCaml 4 optimisation that skips rescanning unchanged stack frames. Notes the feature is more impactful in OCaml 5 due to runtime-managed stacks. Issue

Fixes

  • OCaml Out_channel.flush (issue #13586): Reports that flush can raise Sys_error when racing with close across domains, due to a brief unlock window in caml_flush_partial. Documentation does not specify this concurrent behaviour. Issue

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp: confirms that ocaml-lsp-server does not accept environment variables to activate conditional PPX transformations. The workaround is to set the variable before starting the editor so the LSP server inherits it. #1394

ocaml/ocamlfind

Permalink

No qualifying events fall within the 2024-10-28 to 2024-11-04 interval. The only supplied record (ocaml/ocamlfind PR #72, "Relocatable ocamlfind") was merged on 2024-11-06, outside this window. No dated comments or other state changes are recorded inside the interval.

ocaml/odoc

Permalink

Features

  • odoc driver (PR #1229): Opened PR adding -p (opam package) and -l (findlib library) options to specify documentation targets; dependencies are documented alongside. Not yet merged.
  • odoc @-tag syntax (issue #1226): Opened proposal for a multi-paragraph @-tag delimiter; the {@ @tag …} form is leading discussion. No syntax is implemented yet.

Fixes

  • odoc v2.4 (PR #1222): Merged backport restoring compatibility with OCaml 5.3.0~alpha1 on the v2.4 branch.
  • odoc (issue #1230): Opened bug: a deprecation alert on a type alias (e.g. type int2 = int [@@ocaml.alert deprecated …]) triggers "Alert deprecated not expected here" instead of rendering.

Compatibility and Releases

  • odoc driver (PR #1208): Merged changes enabling odoc_driver to build documentation for ocaml.org-installed packages, replacing the voodoo tool. Includes search-path and packaging fixes.
  • odoc (PR #1228): Merged Tree and Forest modules for sidebar and index data, a prerequisite for the larger sidebar overhaul in #1220.
  • odoc (PR #1227): Opened PR upgrading to OCamlformat 0.27.0, which enables parse-docstrings by default and reflows doc-comment formatting. Not yet merged.
  • odoc CI (PR #1207): Closed without merge; vendoring sherlodoc as a submodule for driver CI testing ran into build issues.

ocaml/opam

Permalink

Releases

  • opam 2.3.0~rc1: First release candidate; no significant change compared to 2.3.0~beta2. Signed binaries and full archive available. Release notes

Features

  • opam update caching (PR #6283): WIP proposal to cache repository etag and last-modified values, reducing an empty opam update from ~3.5 s to ~0.4 s. Not yet merged. PR

ocaml/opam-repository

Permalink

Features

  • opam-repository (ocaml-system): Open proposal to set OCAMLPATH=%{lib}% in the ocaml-system package, preventing library-resolution failures for ocaml-lsp-server and ocaml-format-lib. Related to #11062. (#26824)

  • opam-repository (platform packaging): Open proposal to enforce the eio-style pattern (separate package names with available filters) over encoding platform in the version string, as used by libwasmtime. Affects solvers that must see all platform variants. (#26818)

Fixes

  • opam-repository (opam update): The opam update breakage on macOS/BSD caused by removed files and missing gpatch is considered resolved. Maintainers plan to document the error and fix command in the wiki FAQ before closing. (#25961)

Compatibility and Releases

  • opam-repository (conf-libclang.15): Open question on why conf-libclang.15 depends on libclang-14-dev, libclang-cpp14-dev, and llvm-14-dev on Debian 12/Ubuntu 22.04, and why the synopsis states an upper bound (<= 15.0.x). (#26827)

oxcaml/merlin

Permalink

Features

  • Merlin (oxcaml): adds dump-file-stats sub-command to ocaml-index, printing metadata contained in index files. Merged 2024-10-30. #115

  • Merlin (oxcaml): proposes improved LSP hover interaction for stack-or-heap queries, gated behind -lsp-compat true so direct RPC callers retain full ranges. Opened 2024-10-29; merged after this interval. #116

Compatibility and Releases

  • Merlin (oxcaml): adds a command to print magic numbers, enabling a test that verifies Merlin and ocaml-index magic numbers match. Merged 2024-11-01. #117

oxcaml/oxcaml

Permalink

Features

Oxcaml Flambda 2 – The Reaper: first version of the global pass closed on 2024-10-30, completing the initial implementation of this whole-program optimisation pass. #1797

Oxcaml Flambda 2 – Relational types: new issue opened proposing a revised treatment of relational information in the Flambda 2 type system. #3219

Oxcaml Flambda 2 – Continuation aliases: proposal to extend the alias mechanism beyond exact-argument matches, allowing parameter reordering and constant-argument insertion during substitution. #3210

Oxcaml – Unboxed products in externals: tracking issue opened for supporting unboxed product types in external C bindings. #3222

Oxcaml – Unboxed product arrays: tracking issue opened for unboxed product array representations. #3218

Oxcaml Flambda 2 – Optimisation documentation: issue opened to catalogue code patterns that the backend can and cannot optimise. #3220

Oxcaml Flambda 2 – Variant unboxing: issue opened for fixes to variant unboxing in the backend. #3221

12 repositories · no changes