-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Description
As is well known in these parts, Chrome requires that WebAssembly is compiled asynchronously.
I can make that work for the MAIN_MODULE, using WebAssembly.compileStreaming. However, for the SIDE_MODULE, I'm not sure how to make this work. I've experimented with rewriting loadWebAssemblyModule to use the asynchronous APIs, but then I have the issue that it's called from within dlopen, which needs to at least "feel" synchronous on the C side of things.
Do you have any advice or pointers on how to make this work? Are there any other examples of asynchronous work in JS that we fake to look synchronous on the C side?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels