Thursday, July 09, 2020

WASM performance advantage

To WASM or not to WASM? - DEV

The performance gain we measured with Rust (both implementations) is up to 20% compared to the baseline JavaScript implementation - measured on average.
This may sound like a win for Rust, but is actually a very small gain compared to the efforts required.

64-bit without AssemblyScript

32-bit without AssemblyScript