Hacker News new | ask | show | jobs
by RachelF 328 days ago
I wonder how much slower it is than C/C++ compiled dlls?
1 comments

My experience is now a few years old, but WASM binary we had ran less than 10% slower than C++ Clang compiled native binary from the same source. And that was for rendering code which is rather CPU intensive and benefits from optimisation.

WASM is surprisingly fast.

It basically adds a bitmask to every memory access, which sounds about right for a 10% slowdown.