logoalt Hacker News

CuriouslyClast Friday at 2:19 PM1 replyview on HN

WASM is way way way faster if you need explicit memory management. It's only 100% a wash if you're doing DOM stuff.


Replies

torginuslast Friday at 3:02 PM

Not necessarily. I found a benchmark that you can run yourself, that's doing pretty much just raw compute (JS vs C/C++ in Wasm):

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

Js is not always faster, but in a good chunk of cases it is.

show 3 replies