Hacker News new | ask | show | jobs
by _squared_ 1658 days ago
If you're interested in leveraging web workers easily for repetitive compute-heavy tasks in a webapp, i've built a little library that takes care of launching and managing worker threads for you: https://github.com/GitSquared/rinzler
1 comments

Nice. Do you also support SharedArrayBuffers or does everything need to be serializable that is sent to/from WebWorkers?
By the way, I built something similar (?): A Rust library that mimics the API of the `futures-executor` crate, but each worker thread is a single WebWorker.

https://github.com/wngr/wasm-futures-executor