Re:Why Google Sheets ported its calculation worker from Java...
by cxr on Saturday June 29, 2024 @10:37PM
(#40834766)
I have read it closely no fewer than three times. It's junk and filled with sleights of hand like I already mentioned, which you don't pick up on by not paying enough attention.
The javascript version does exist! The fact that it's produced by a compiler doesn't undermine it's existence.
What's interesting here is not that it's slower than the equivalent running on the JVM but that it was _faster_ than a version compiled to wasm.
Well written and useful article if you would like to learn about what type of optimizations are effective in targeting the wasmgc runtime.