Thicket thicket
ocaml
REPOS 9

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

W19.2025 · 5–11 Mayocsigen/js_of_ocaml

Features

js_of_ocaml optimization scheduling: Merged restructured pass ordering (phi, flow, specialize, eval) for better convergence under --opt 1. #1962

js_of_ocaml block merging: Merged a pass that combines adjacent blocks before optimization, reducing block count by ~28% on lwt toplevel. #1967

Compatibility and Releases

js_of_ocaml ppxlib: Now builds with ppxlib 0.36; the test suite still requires ppxlib < 0.36. #1866

wasm_of_ocaml Safari 18.4: Open bug: generated modules fail WebAssembly validation with a tail-call return-type mismatch. #1975

Fixes

js_of_ocaml register coloring: Merged a rewrite removing a bottleneck in the coloring algorithm, significantly reducing compilation time. #1971

js_of_ocaml memory usage: Merged compaction of sparse Addr.t blocks, reducing peak memory by 3–5% on large programs. #1968

js_of_ocaml 6.0.1 Js_error: Js_error.raise_ with effects and --disable excwrap now raises an Error object instead of a continuation. Fixed by PR #1917. #1970

wasm_of_ocaml 6.0.1: Fixed Int32.to_int conversion where Int32.of_string_opt "0x80000000" produced 0 instead of -2147483648. #1955