Tools covers builds, package management, editors, documentation and JavaScript compilation.
W15.2025 · 7–13 Apr/ocsigen/js_of_ocaml
Features
js_of_ocaml PR #1928: proposes inlining JS runtime primitives directly into generated code, moving compilation of some primitives out of generate.ml into the runtime. Open draft.
js_of_ocaml issue #1930: requests SharedArrayBuffer and Atomics support in wasm_of_ocaml for zero-copy shared-memory communication between WASM and JS. Open feature request.
Fixes
js_of_ocaml issue #1925: corrects documentation for Sys_js.read_file, which raises Sys_error rather than the documented Not_found on missing files. Closed same day.
Compatibility and Releases
js_of_ocaml issue #1906: confirms generated int64.js uses ES2022 static class fields, exceeding the ES6 level stated in the README. Closed; users targeting ES6 should transpile with Babel.
js_of_ocaml issue #1929: reports that wasm_of_ocaml output fails to load in WAMR with GC enabled due to a type mismatch. WAMR's GC implementation is partial and insufficient for OCaml WASM modules.