4 ms·
Do we get the fearless concurrency part of rust on wasm?
by tiuPapa 9y ago
Do we get the fearless concurrency part of rust on wasm?
- skybrian 9y agoWebassembly (and JavaScript) are single-threaded. The platform has web workers, but they are more like processes since they mostly don't share data. There do seem to be some proposals to add threads, though. Also, it's possible (but hard) to build cooperative multithreading on top of it; apparently Go is going to do that.
- GolDDranks 9y agoNote that there is also single-threaded concurrency, since concurrency is not parallelism. The upcoming async stuff is going to help with this.