Hacker News new | ask | show | jobs
by jonnytran 1825 days ago
Is there a 2021 update to this topic? How has the state of WASM changed? How have JS engines changed? Is it still a good idea to make these changes to your JS code?
1 comments

https://blog.feather.systems/jekyll/update/2021/06/21/WasmPe...

Here's some benchmarks. But in summary, for small simple hot loops, chrome is just as fast using js, but for firefox wasm gives big performance improvements.

Of course, if you can use SIMD instructions, then wasm will win, but that's less fair.