-
Notifications
You must be signed in to change notification settings - Fork 1
Concurrency support for WebAssembly #16
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
Comments
The stability of the Wasm specifications (threads, stack-switching, and wasi-threads) and the implementation of VMs seem to be blockers for implementing threads and fibers. (It’s also unclear when these specifications and implementations will be finalized). The situation differs between JS environments and standalone Wasm environments.
|
We should use Gear on JS and test it out this way. |
From Scala.js 1.19.0, it supports JSPI (kind of on-shot delimcc on JS+Wasm) and Gears supports Scala.js based on it lampepfl/gears#127 Would it be sufficient to create a demo application for Gears (perhaps a CLI application or something) and compile it to Wasm on JS? |
Also, I can write a short report about why concurrency doesn't work on Wasm |
Yeah, that would be totally fine and in scope of the task.
That would be useful and also we could add about the proposals that could get implemented in the future |
Allow or usage of an API similar to java.lang.Thread, make sure concurrency primitives are available and investigate potential fibers support.
The text was updated successfully, but these errors were encountered: