Skip to content

v0.3.1: Optimized JSPI implementation

Latest

Choose a tag to compare

@natsukagami natsukagami released this 07 May 13:31
· 4 commits to main since this release
ea3d095

Highlights

Scala.js / Wasm support is now more optimized than before!
Previously the implementation generated two nested js.async calls for every created Future, which seems to be very memory inefficient on Node.js's V8 implementation. They are now optimized to use only one js.async. Our simple stress-test receives a 74% memory usage reduction from this change!

Furthermore, Node.js 26 has finally fixed our stack overflow bug (#165), which means you can use gears targeting Node.js 26 and later.

Special thanks to @tanishiking for looking into the bug & the JSPI implementation and resolving both!

What's Changed

New Contributors

Full Changelog: v0.3.0...v0.3.1