Thicket thicket
ocaml
REPOS 27
W49.2024 · 2–8 Dec

All repository summaries

16 active · 11 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Fixes

  • Eio (PR #787): merged. Ignores ECONNRESET returned by close on FreeBSD, where the descriptor is still deallocated despite the error. Fixes #786.
  • Eio (issue #788): open. Parallel writes to stdout via the io_uring backend raise Eio.Io Unix_error (Interrupted system call, "writev", "") on Linux 6.12. Reproduced with 2+ domains; not with 1.

Features

  • Eio (PR #785): open. Adds chmod to the Eio_linux and Eio_posix backends. Windows permission semantics remain unresolved.

ocaml-multicore/saturn

Permalink

Features

  • Saturn v1.0.0: Released 2024-12-05. Adds lockfree Bag, Bounded Queue, Bounded Stack, and Htbl from Picos; removes the Saturn_lockfree package, relaxed_queue, and the M module in ws_deque. (release)

  • Saturn Mpsc queue: Rewritten as a single-consumer structure aligned with Eio. is_empty and close are now consumer-only; adds drop_exn, push_all, of_list; renames pop/peek to pop_exn/peek_exn. (#162)

  • Saturn lockfree Bag: Hash-table-based concurrent bag merged from Picos. Unordered insert/remove eliminates the ordering contention points present in queues and stacks. (#173)

  • Saturn Skiplist: Documentation updated with examples. Issue #178 proposes adding try_set, compare_and_set, and compare_and_remove to match the Htbl API. (#172, issue #178)

Research and Ongoing Work

  • Saturn priority queue: A skip-list-based priority queue is in progress, following the algorithm in The Art of Multiprocessor Programming. A double-CAS variant is noted as better suited to kcas_data than to Saturn. (issue #31)

  • Saturn copy_as_padded audit: Open discussion on whether padding on data-structure root records is always necessary. Padding increases memory and GC pressure; false sharing on the long-lived root is the primary justification. (issue #171)

ocaml/RFCs

Permalink

OCaml RFCs PR #50 (GC proposal): Open proposal by craff for a minor-GC remembered-set change; created 2024-11-29, still open at interval end. Discussion comments are undated, so no specific in-interval activity can be confirmed. #50

ocaml/dune

Permalink

Fixes

  • Dune run action on Windows: Open issue #11174 reports that (run ./configure) fails with CreateProcess(): Exec format error because Windows requires file extensions to dispatch scripts. The issue affects both opam-generated lockfiles and user-written run actions; discussion suggests making run resolve an interpreter automatically. No fix merged in this interval.

ocaml/merlin

Permalink

Fixes

  • Merlin (issue #1871): opened 2024-12-03. Reports that Location.input_name passed to PPX plugins contains only the basename, not the full path, causing ambiguity for same-named files in different directories.

  • Merlin LSP (issue #1842): updated 2024-12-05. Go-to-definition via LSP resolves to compiler-libs instead of vendored source files when dune copies sources. Evidence is insufficient to describe the specific update.

  • Merlin -short-paths (issue #1643): updated 2024-12-04. Type queries return Base.string rather than string when the alias requires loading an additional .cmi. Evidence is insufficient to describe the specific update.

Compatibility and Releases

  • Merlin (PR #1872): opened 2024-12-05 by voodoos. Adds a regression test illustrating the dune-copy go-to-definition failure from issue #1842. Labeled "no changelog"; merge occurred after the reporting interval.

ocaml/ocaml

Permalink

Fixes

  • OCaml (issue #13658): describes non-termination in the type-checker with -rectypes and type_application. Opened by gasche; found during review of #13612.

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp PR #1416: adds a client option to suppress hover responses, letting editors supply alternative tooltip content without default clutter. Opened 2024-12-06; merged after the reporting interval. (#1416)

Compatibility and Releases

  • ocaml-lsp v1.20.1: deactivates jump code actions by default to avoid >2 s codeAction request latency. Re-enable via the merlinJumpCodeActions configuration option or use the new custom request. (Release)
  • ocaml-lsp v1.20.1-4.14: same jump code-action fix, targeting the 4.14 compiler series. (Release)

ocaml/ocaml.org

Permalink

Features

ocaml.org practice exercises: Issue #2211 was closed on 2024-12-05. The practice exercises were migrated to a standalone repository at divyankachaudhari/ocaml-practice-exercises.

Fixes

ocaml.org dark mode: Issue #2845 (opened 2024-12-03, still open) reports that dark mode is applied to content but not the document body, causing white flashes on scroll and navigation.

ocaml.org build docs: Issue #2844 (opened 2024-12-02, still open) reports that make deps now creates a local switch since commit edc0dc5, making it equivalent to make switch. HACKING.md still describes the two targets as distinct.

ocaml/ocamlfind

Permalink

No activity in the supplied records falls within the 2024-12-02 to 2024-12-09 interval. The sole record (ocaml/ocamlfind issue #84) was opened on 2024-10-23 and last updated on 2025-04-08; its single comment carries no timestamp. Evidence is insufficient to attribute any change to this window.

ocaml/odoc

Permalink

Features

  • Odoc sidebar-generate: New odoc sidebar-generate command produces a compact sidebar file from an .odoc-index, reducing HTML generation time. (#1250)
  • Odoc HTML remap: New mode generates HTML for selected packages and rewrites cross-package links to ocaml.org documentation pages. (#1248)

Compatibility and Releases

  • Odoc 2.4.4: Released 2024-12-05. Adds OCaml 5.3.0 compatibility. (release, #1254, #1255)
  • Odoc 2.4.4 compatibility: Drops OCaml 4.02 support on the 2.4 branch. (#1256)

ocaml/opam

Permalink

Features

  • opam (proposal): proposes restructuring the internal repos-config file from a positional list to per-repository sections with named properties, simplifying optional fields like quorum and fingerprints. #6327
  • opam (documentation): proposes separating fetch options from build options in the manpage, since some build options are fetch options also usable with opam source. #6323

ocaml/opam-file-format

Permalink

Features

  • opam-file-format 2.2.0~alpha1: parser switched from ocamlyacc to menhir, making the library domain-safe and removing the dependency on Stdlib.Parsing internal state. (#60)
  • opam-file-format 2.2.0~alpha1: GNU Make build system removed; Dune is now the sole build system. (#51)

Compatibility and Releases

  • opam-file-format 2.2.0~alpha1: alpha release published 2024-12-06. The menhir parser change is a breaking change for consumers relying on the previous parser's Stdlib.Parsing interaction. (release)

ocaml/opam-repository

Permalink

opam-repository: open issue #23635 (updated 2024-12-04) reports that coq-stdlib.8.17.0 fails to build when OCAMLPATH is set, because Coq's Dune rules invoke findlib to locate plugins. Workaround: unset OCAMLPATH before opam install. The issue remains open.

ocsigen/js_of_ocaml

Permalink

Releases

  • Js_of_ocaml 5.9.1: adds a compiler mechanism to deprecate runtime primitives and re-introduces caml_new_string, marked deprecated. (release)

Features

  • Js_of_ocaml Wasm embedding (PR #1758): proposes embedding Wasm code inside the JavaScript script, gated behind a flag, with separate-compilation support. Open. (#1758)
  • Js_of_ocaml Wasm exceptions (PR #1759): proposes generating new exception-handling instructions; still behind a flag in Chrome and Node.js. Open. (#1759)

Fixes

  • Js_of_ocaml 5.9.1 build: fails without opam when the system sedlex lacks Sedlexing.lexing_position_start. Resolved by installing the correct sedlex via opam. (#1754)

oxcaml/merlin

Permalink

Compatibility and Releases

  • Merlin (OCaml 5.2.0minus-4 sync): Merged by liam923 on 2024-12-02. The compiler no longer prints user-written jkind annotations on [@@unboxed] types; Merlin's Printtyp.tree_of_type_decl reflects this, with a higher-verbosity option to recover the annotation. #120

oxcaml/oxcaml

Permalink

Features

  • oxcaml backend: #3345 identifies a redundant movzwq emitted after bswap_16 following a zero-extending 16-bit load. The simplification must occur late in compilation, as bswap conceals the zero-extension from CMM onward.

  • oxcaml backend: #3344 identifies a redundant movslq after a zero-extending 16-bit load when widening to int32#. A CMM-level fix is possible if small-size load_mut is guaranteed to zero-extend.

Fixes

  • oxcaml unboxed types: #3222 on unboxed products in externals was closed on 2024-12-02. The issue body and comments contain no further detail on the resolution.
11 repositories · no changes