If you haven’t already read Jan’s wonderful blog about how he managed to improve Wasm compilation speed by 75x on large modules, please take a pee

SpiderMonkey Newsletter (Firefox 132-134) | SpiderMonkey JavaScript/WebAssembly Engine

submited by
Style Pass
2024-11-28 11:30:04

If you haven’t already read Jan’s wonderful blog about how he managed to improve Wasm compilation speed by 75x on large modules, please take a peek. It’s a great story of how O(n^2) is the worst complexity – fast enough to seem OK in small cases, and slow enough to blow up horrendously when things get big.

Jan continued improving register allocation by choosing a better representation for sparse bitsets, improving compilation time on a wasm module by 40%, and improving some PDF test cases by 5%.

The WebAssembly Memory64 proposal has reached stage 4 and is enabled by default in Firefox 134. This proposal finally adds 64-bit pointers to WebAssembly—although this comes with some downsides, so stay tuned for a blog post exploring this subject further.

Prolific contributor André has worked on over 30 (‼) bugs in this newsletter time frame. Feature wise he’s continued his incredible stewardship of the Temporal proposal, as well as implementing Int.Duration format, providing initial implementation of Atomics.pause.

Leave a Comment