Re:WebAssembly: The New Kubernetes?
by torginus on Friday January 21, 2022 @10:42AM
(#30025066)
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.
[ Parent
| on HN ]
Safari does support wasm threads now! It's pretty recent:
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.