Tools covers builds, package management, editors, documentation and JavaScript compilation.
W21.2025 · 19–25 May/ocsigen/js_of_ocaml
Features
js_of_ocaml inlining pass: merged a rewrite of the inlining pass. Internal Bonsai benchmarks show 50–80% faster execution; binary size increases <1% in separate compilation. (#1935)
js_of_ocaml compiler: opened a PR to reuse the inline cache during full size computation. Merged 2025-06-06, outside this interval. (#2014)
Compatibility and Releases
js_of_ocaml build: merged an update to require dune 3.19. (#1957)
Fixes
js_of_ocaml runtime: fixes caml_utf8_of_utf16 emitting a replacement character instead of the correct code point for the high surrogate 0xdbff. Also corrects two related comparison errors. (#2008, #2006)
js_of_ocaml compiler: merged a fix so deadcode elimination no longer preserves a tail-call variable when the expression is impure but the variable is unused. (#2010)
js_of_ocaml compiler: merged a fix for an invariant violation in the compilation pipeline. (#2009)
js_of_ocaml build: merged a fix for warn-error causing build failures in .js dune special directories. (#2007)
js_of_ocaml compiler: opened a PR addressing unused blocks left by the effects pass and dead closures missed during inlining in recursive cycles. Closed without merge on 2025-05-27. (#2013)