3 ms·
Since wasm supports threads, I wonder if you can speed up these operations further more by using multiple threads.
by wdroz 5y ago
Since wasm supports threads, I wonder if you can speed up these operations further more by using multiple threads.
- brrrrrm 5y agoThat's a good point: you certainly could. There's some fun exploration to be done with atomic operations. The issue is that threaded execution requires cross-origin isolation, which isn't trivial to integrate. (Example server that will serve the required headers: https://github.com/bwasti/wasmblr/blob/main/thread_example/server.py https://github.com/bwasti/wasmblr/blob/main/thread_example/s...)