Tools covers builds, package management, editors, documentation and JavaScript compilation.
W20.2025 · 12–18 May/ocsigen/js_of_ocaml
Features
js_of_ocaml:wasm_of_ocaml now emits a binary Wasm module by default, speeding up binaryen parsing. Source maps and --debug wat still require text output. #2000, #2003
js_of_ocaml: Deadcode elimination now handles cyclic values, removing unreachable code that earlier passes missed. #1978
Compatibility and Releases
js_of_ocaml: Deprecates List functions that hide polymorphic comparison, avoiding polymorphic hashtbl usage. #1981
js_of_ocaml: Reorders optimization passes so jsoo reaches the ocamlc fixpoint one round earlier (~8.6 s to ~7.8 s). #2001
js_of_ocaml: Improves Js_assign variable naming, reducing fiat-crypto output size by 10% and compilation time by 5%. Adds --debug var for readable variable names. #1986
Fixes
js_of_ocaml: Fixes bigarray hashing in the Wasm runtime. #1977
js_of_ocaml: Fixes the toplevel when use-js-strings is disabled, correcting the caml_jsoo_flags_effects binding. #1997
js_of_ocaml: Moves the JavaString hash function out of the wasm:js-string builtin module into bindings for Firefox compatibility. #1990