-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider using wasm threads in the wasm node #1774
Comments
In order to be able to use a Then it should be a matter of proper initializing the multiple workers. And then everything in |
Unfortunately, using threads requires workers, and #2498 goes against this idea. However, we could also for example expose a |
This issue is theoretically feasible, but is rather complicated. The execution model of the Wasm at the moment is:
How to make this multithreading-friendly is kind of complicated. One the aspects is that, due to browser restrictions, all connections-related functions should only be called from the "main thread". |
Assuming that What I think we should do is:
|
Most of the content of
wasm-node
at the moment assumes one thread, but we could change that.The text was updated successfully, but these errors were encountered: