Skip to content

Comment on Snappy UIs with WebAssembly and Web Workers

Comments

Interesting article, but it's lacking a performance comparison between wasm and javascript running in workers.

JS can be largely fast enough for a lot of use cases: if I had some WebAssembly to a project I need a good reason to do so.

https://takahirox.github.io/WebAssembly-benchmark/

JS can be faster in enough cases where it's worthwhile to test.

WASM is mostly being used for code that has already been written and is now being integrated into a web site. I wouldn't suggest jumping right to WASM simply for performance.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.