Thicket thicket
ocaml
REPOS 1

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

W23.2025 · 2–8 Junocsigen/js_of_ocaml

Features

Js_of_ocaml wasm_of_ocaml: adds --effects disabled to suppress JSPI stack-switching overhead when calling JS from Wasm. Relevant for Node 25+ where JSPI is enabled by default. #2026

Js_of_ocaml wasm_of_ocaml: emits constant JavaScript strings via the JS String Builtins "imported string constants" mechanism instead of embedding them in the launcher script. #2022

Js_of_ocaml wasm runtime: implements bigarray access through DataView primitives, which V8 optimizes better than the previous JS function-call path. #1979

Fixes

Js_of_ocaml wasm runtime: fixes method lookup in the Wasm runtime. #2034

Js_of_ocaml wasm_of_ocaml: applies fixes to the wasm_of_ocaml backend (no changelog entry). #2033

Compatibility and Releases

Js_of_ocaml v5.4: release preparation merged, including a Windows tmpdir fix for the Node runtime. #2030

Js_of_ocaml compiler: inlining and dead-code-elimination passes now do more work per round, reducing optimization rounds to reach a fixpoint. Resolves issue #2020. #2027

Js_of_ocaml compiler: increases inlining laziness to limit code bloat from aggressive inlining. #2029