News for hackers. Stuff that matters.
Re:When to use web workers by whereareyouwow on Saturday June 15, 2019 @02:00PM (#20191227)
I agree with you on keeping the main thread free. What are your thoughts on WASM via workers?
Re:When to use web workers by dassurma on Saturday June 15, 2019 @02:10PM (#20191272)
We are using loads of Wasm in Workers in https://squoosh.app

Since Wasm is synchronous, I’d say it should almost always be run in workers except if the module needs access to some main-thread-only API.