4 ms·
The generalish difference between JS and native code languages like C is about 10X. This varies from around 2X to 50X depending highly on what you're doing. WA
by throwasehasdwi 9y ago
The generalish difference between JS and native code languages like C is about 10X. This varies from around 2X to 50X depending highly on what you're doing.
WASM should run at native speeds minus some special CPU instructions like vector stuff. So about as fast as highly optimized bytecode languages like Java, maybe 20% slower than optimized C.
- sp332 9y agoAnd vector stuff (SIMD) is being planned. https://hacks.mozilla.org/2017/02/where-is-webassembly-now-and-whats-next/ https://hacks.mozilla.org/2017/02/where-is-webassembly-now-a... Edit: an even longer list of proposed features. http://webassembly.org/docs/future-features/ http://webassembly.org/docs/future-features/