You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How does TaskQueue/TaskWorklet tie into WASM threads? #9
I think right now there isn't really an interaction between the two. The polyfill would allow WASM as it is implemented using Workers for the threadpool, however the proposal (publishing soon) and our experimental implementation in Chromium use a proper Worklet backing in the pool and thus don't allow for WASM usage.
Activity
developit commentedon Nov 15, 2018
I think right now there isn't really an interaction between the two. The polyfill would allow WASM as it is implemented using Workers for the threadpool, however the proposal (publishing soon) and our experimental implementation in Chromium use a proper Worklet backing in the pool and thus don't allow for WASM usage.
chicoxyzzy commentedon Nov 16, 2018
It's possible to use WebAssembly in AudioWorklet in stable Chrome so it's confusing that it's not the case for TaskWorklet
chicoxyzzy commentedon Nov 16, 2018
Basically it should be possible to load js module via
Worklet.addModuleand load+compile+instantiate wasm in this modulechicoxyzzy commentedon Nov 19, 2018
Also just found this reference that
WebAssemblynamespace should be exposed to window, worker and workletdevelopit commentedon Nov 21, 2018
@chicoxyzzy you're right, I'm not sure why I implied WASM couldn't be used - there's no reason it can't here.