4 ms·
It's native-like speed for some programs. But it also depends a bit on the application. Some applications can benefit a a lot from CPU specific instructions c
by dathinab 4y ago
It's native-like speed for some programs.
But it also depends a bit on the application.
Some applications can benefit a a lot from CPU specific instructions combinations which are not available to wasm
(with available I mean implicitly, i.e. your wasm code gets compiled to them).
Luckily for a lot of use-cases this doesn't matter much(1) and some degree of SIMD support is often(2) available.
(1): Without micro-optimizations which most times aren't done as due to their maintenance/development cost.
(2): I'm not quite up to date. I think 128bit SIMD is available in most (all?) relevant WASI runtimes and at least some browsers.