by dassurma · 7y ago · 0 comments
I am saying that we should be using web workers to keep the main thread free. That is completely orthogonal to good static design, proper bundling, right caching headers, code splitting, asset hashing etc etc.
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.