I’m pleased to announce the joint release of js_of_ocaml 6.1.0 and wasm_of_ocaml.
Js_of_ocaml is a compiler from OCaml bytecode to JavaScript. It makes it possible to run pure OCaml programs in JavaScript environment like browsers and Node.js.
Wasm_of_ocaml is a compiler from OCaml bytecode to WebAssembly. It is highly compatible with Js_of_ocaml, so you can compile your programs with wasm_of_ocaml instead of js_of_ocaml and experience overall better performance.
Most significant changes:
- A lot of effort was spent on optimizing compilation speed and compile-time memory usage. we’re seeing up to 4x compilation speed improvement in some cases.
See the Changelog for other changes.