3 ms·
Isn't multithreading support, which is kinda essential for high-performance applications, spotty under WASM? I've read that threads in WASM are hack built-on to
by torginus 5y ago
Isn't multithreading support, which is kinda essential for high-performance applications, spotty under WASM? I've read that threads in WASM are hack built-on top of Web Workers + SharedArrayBuffer, which is kinda dodgy at best, and most importantly, not even supported under Safari.
- azakai 5y agoSafari does support wasm threads now! It's pretty recent: https://twitter.com/RReverser/status/1471623675623481356 https://twitter.com/RReverser/status/1471623675623481356 Yes, wasm threading support on the web uses workers + SAB. There are some limitations (the usual issues with blocking on the main thread on the web), but it works well in production for many things.