Thicket thicket
ocaml
REPOS 9

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W35.2025 · 25–31 Augocsigen/js_of_ocaml

Fixes

js_of_ocaml (effects backends): reverts an incorrect caml_compare purity annotation that broke function-value comparison under --effects=cps and --effects=double-translation. Merged 2025-08-28; fixes #2089.

js_of_ocaml (Wasm runtime): fixes Unix.times in the Wasm backend. Merged 2025-08-31 (#2096).

js_of_ocaml (Wasm backend): corrects call-graph analysis to stay coherent with call-site generation in the Generate pass. Merged 2025-08-29 (#2093).

Features

js_of_ocaml (Wasm strings, ongoing): open PR to optionally represent OCaml strings as JavaScript strings in the Wasm runtime, skipping ASCII conversions and using I16 arrays. Rebased on master 2025-08-27 (#1772).

js_of_ocaml (lambda lifting, ongoing): open PR adds more aggressive lambda lifting in double translation, placed behind a flag; measured ~1.45× speedup on a Bonsai benchmark. Updated 2025-09-08 (#1886).

js_of_ocaml (build-fs, open question): issue asking how to preserve the original directory structure when passing multiple paths to build-fs, ideally compatible with a Dune source_tree option. Opened 2025-08-26 (#2091).