5 ms·
And people keep mentioning those 'Web Workers' as if Emscripten is capable of generating them from LLVM thread abstractions.
by CmonDev 13y ago
And people keep mentioning those 'Web Workers' as if Emscripten is capable of generating them from LLVM thread abstractions.
- flohofwoe 13y agoNope, it's a better idea to create a higher level thread-pool-based parallel-task-system which abstracts away the differences between pthreads and WebWorkers. I think that at least most game engines have such a system in place anyway, and can be relatively easily adopted. YMMV because it may be more overhead to get data in and out of WebWorkers since they don't have a shared address space (so in that regard they are more like processes).