Thicket thicket
ocaml
REPOS 27
W47.2024 · 18–24 Nov

All repository summaries

14 active · 13 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Features

  • Eio v1.2: Makes fork_action.h a public header so other libraries can register new fork actions. Adds trace events for process spawning and makes Eio_unix.Net return types more polymorphic. (release)
  • Eio (PR #781): Open PR by @patricoferris adding chown to eio_posix and eio_linux via fchownat. Review discussion covers whether chown belongs in the cross-platform API, given it is unimplemented on Windows. (PR)

Compatibility and Releases

  • Eio v1.2: Released 2024-11-23. Fixes tests on OpenBSD by adding a bash dependency and accepting www as a service name for port 80. (release, #782)

Fixes

  • Eio v1.2 (Windows): Works around Unix.getaddrinfo not setting ai_protocol by issuing separate TCP/UDP queries. Groups ECONNABORTED with other connection-reset errors and unregisters FDs on cancel to fix ENOTSOCK. (#780, #783)
  • Eio v1.2: Preserves backtraces in fork_daemon. Eio.Path always uses / as separator, and openat error handling is improved to fix spurious ENOENT exceptions. (release)

ocaml-multicore/ocaml-uring

Permalink

Fixes

  • ocaml-uring: Issue #119 reports a random hang in _io_uring_get_cqe after ~1 week of running with cohttp-eio and Eio.Time.sleep_until. A maintainer suggested eio-trace and OCAML_RUNTIME_EVENTS for diagnosis. Opened 2024-11-23; closed after the reporting interval.

ocaml-multicore/picos

Permalink

Fixes

  • Picos PR #333: removes the caml_ml_domain_id reference in the OCaml 4 JS backend, restoring picos.thread after js_of_ocaml stopped exporting that runtime value. Merged 2024-11-25. (#333, #332)

Compatibility and Releases

  • Picos PR #331: proposed a workaround for cohttp dependencies on OpenBSD; closed without merging on 2024-11-25. (#331)

ocaml-multicore/saturn

Permalink

Features

  • Saturn work-stealing deque: Merged optimization eliminates false sharing and reduces contention. Benchmarks show ~2.4× throughput at 8 workers (177→428 spawns/time). By polytypic. #124

  • Saturn bounded queue: Merged non-blocking bounded queue based on Michael-Scott with cached capacity. Avoids a Picos dependency; provides push, pop, try_push, length, is_empty. #160

  • Saturn bounded stack: Merged bounded stack for Saturn 1.0, non-blocking to avoid a Picos dependency. #156

  • Saturn Treiber stack: Merged expansion adds of_list, push_all, pop_all, of_seq, add_seq, to_seq, peek_exn, drop_exn, set_exn, try_compare_and_pop, and try_compare_and_set. #158

  • Saturn MPSC queue: Proposed rewrite aligns the queue with Eio's single-consumer model. Adds drop_exn, push_all, of_list; renames pop/peek to pop_exn/peek_exn; restricts is_empty and close to the consumer. #162

  • Saturn queue API uniformization: Three proposed PRs add drop_exn, of_list, and consistent documentation across SPSC, Michael-Scott, and work-stealing deque modules. #165, #167, #168

Fixes

  • Saturn Treiber stack: Merged fix for minor documentation and List.@ usage issues. #163

Compatibility and Releases

  • Saturn bounded queue design: PR #83 (blocking bounded queue via Picos) closed without merge; the non-blocking approach in PR #160 supersedes it to avoid a Picos dependency. #83

ocaml/dune

Permalink

Fixes

  • Dune: Open discussion reports that implicit_transitive_deps false does not prevent module shadowing from transitive dependencies (e.g. ocaml-compiler-libs). No resolution or workaround identified as of 2024-11-22. Discussion #11141

ocaml/merlin

Permalink

Fixes

  • Merlin: fixes a jump-to-fun crash caused by Typedtree representation changes in OCaml 5.2. Merged 2024-11-21, closing #1862.

  • Merlin: opens a change to type-enclosing deduplication, printing types only at the junction between reconstructed and tree-node enclosings. Merged after the reporting interval. #1864

ocaml/ocaml

Permalink

Releases

ocaml/ocaml-lsp

Permalink

Features

  • OCaml LSP – dune formatting: Proposal to expose dune format-dune-file through the LSP protocol so editors other than VS Code can format dune files. Open issue #1396.

Compatibility and Releases

  • OCaml LSP – opam resolution: Upgrading jsonrpc and lsp to 1.19.0 forces an ocaml-lsp-server downgrade to 1.17.0 on OCaml 4.14.2 due to missing version constraints. Open issue #1405.
  • OCaml LSP – release: A new release including URI fragment support is planned; the issue was closed after maintainer confirmation. #1406.

Fixes

  • OCaml LSP – short-paths: -short-paths is forced to true in the server, preventing users from seeing full type paths in diagnostics. Open issue #1395 requests a per-project toggle.
  • OCaml LSP – hover display: Hovering over [@@deriving] on a mutually recursive type shows incorrect information depending on attribute placement. Open issue #1401, reproduced on 1.18.0.

ocaml/ocaml.org

Permalink

Features

  • ocaml.org blog: Issue #1471 proposing to rename "Blog" to "News" and list syndication sources was closed on 2024-11-19 without implementation.

  • ocaml.org docs: Open proposal #2827 to link the debugging page to the Stdlib debugging API reference. A maintainer invited a patch from the reporter.

  • ocaml.org build: Open proposal #2826 to pin the Docker image instead of opam-repo, aiming for more stable builds and faster switch caching.

ocaml/odoc

Permalink

Features

  • odoc @short_title tag: Merged. Adds a tag for declaring a page's short title in documentation markup; the value is stored but not yet rendered in output. (#1246)
  • odoc @children_order tag: Merged. Allows authors to specify the display order of child entries via @children_order foo bar dir/ baz. (#1243)
  • odoc sidebar-generate command: Opened. New odoc sidebar-generate subcommand reads an .odoc-index file and emits a smaller .odoc-sidebar (or .json with --json), reducing HTML-generation time. (#1250)
  • odoc unified sidebar: Opened. Replaces separate module/page sidebar inputs with a single hierarchy covering modules, pages, and sources; resolves sidebar/breadcrumb mismatches and monorepo layout conflicts. (#1251)

Compatibility and Releases

  • odoc odoc_index CLI: Closed without merge. Proposed replacing -P/-L flags with --root arguments; superseded by the unified sidebar work in #1251. (#1247)
  • odoc sidebar/index overhaul: Merged. Internal restructuring of sidebar and index data flow; labelled "no changelog" with no user-visible CLI change. (#1244)

Documentation

  • odoc block-ending docs: Merged. Adds per-construct notes on how tags and light-syntax lists are implicitly terminated (blank line or non-nestable block). (#1245)

ocaml/opam

Permalink

Features

  • opam (PR #6308): Opens a proposal to add a GitHub action that auto-submits new OCaml releases to WinGet via microsoft/winget-create. Requires a WINGET_GITHUB_TOKEN repo secret; not merged.

ocaml/opam-repository

Permalink

opam-repository: openSUSE depext names for conf-sdl2, conf-sdl2-image, and conf-sdl2-ttf are reported as outdated on Tumbleweed; the expected libSDL2-devel packages have been renamed to SDL2-devel. Issue #26900 remains open.

ocsigen/js_of_ocaml

Permalink

Features

Js_of_ocaml 5.9.0: Released 2024-11-22. Finalizes OCaml 5.3 support and adds partial Wasm backend pipeline support via a new Targetint module. Release notes

Js_of_ocaml 5.9.0 source maps: Index source maps are emitted to avoid shifting mappings; sourcemap decoding is deferred until needed. Improves editor integration and reduces build time. Release notes

Js_of_ocaml 5.9.0 build speed: global_flow and global_deadcode passes are sped up on large bytecode. JSON parsing now relies on Yojson.Raw for faster compilation. Release notes

Fixes

Js_of_ocaml 5.9.0 runtime: Fixes unsigned integer parsing (0u2147483648), makes float_of_string stricter, and corrects pos_in after unmarshalling. Release notes

Js_of_ocaml 5.9.0 separate compilation: Fixes missing toplevel primitives and packed-module linking under separate compilation. Enables dynlink of precompiled JS. Release notes

Compatibility and Releases

Js_of_ocaml 5.9.0 backtraces: Backtraces now require explicit opt-in via --enable with-js-error at compile time or OCAMLRUNPARAM=b=1 at startup. Breaking change for programs relying on default backtraces. Release notes

Js_of_ocaml 5.9.0 platform and API: Sys.os_type on Windows returns "Win32" instead of "Cygwin". Typed_array API is modified for WebAssembly compatibility; yojson is no longer optional. Release notes

Js_of_ocaml 5.9.0 toplevel: The toplevel no longer sets globals for initialization. A warning is emitted on use of joo_global_object. Release notes

oxcaml/oxcaml

Permalink

Features

  • Flambda2 relational typing env (#3219): Proposes replacing the ad-hoc typing environment with an egglog-inspired deductive database using congruence closure and leapfrog triejoin for order-independent joins. Open design proposal; supports generic abstract domains and incremental peephole rewrites. Link

  • Flambda2 code generation (#3293): A pxor instruction before cvtsi2sdq eliminates a false register dependency, raising IPC from ~0.5 to ~3.5 in a tight float loop. The team considers adding this clearing instruction systematically. Link

Fixes

  • Flambda2 join performance (#3300): Environment joining at -O2 and above accounts for up to 30% of compilation time, with rare outliers at 60%. Tracked alongside the egglog-inspired join rework in #3219. Link

Compatibility and Releases

  • Flambda2 performance tracking (#3299): Proposes weekly tracking of stdlib, compiler, and curated package compile times plus selected benchmark runtimes to detect regressions. Open proposal. Link
13 repositories · no changes