-
Notifications
You must be signed in to change notification settings - Fork 194
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
Support for WASI #258
Comments
WASI doesn't support network access yet. You can have pre-opened sockets that a Wasm/WASI app could use, but the app itself cannot listen to a port, initiate a connection or exchange datagrams. Even sending/receiving data on a preopened socket is not implemented by most runtimes because the way networking will be done in WASI still remains to be designed. |
@jedisct1 thanks for the insight. What about IPC based communication? |
Same. WebAssembly modules can communicate via their runtime, but there is no standardized interface yet. |
It seems like a big problem for WASI. It seems to lack mechanisms for arbitrary extensions (Vulkan extensions, e.g.). That means that for every specific case the standard will have to be extended, as well as runtimes. |
Give it some time. WASI is still fairly new. Extension mechanisms are being discussed, but providing a consistent API across all runtimes comes with a lot of challenges. |
Sure, its creators and contributors are making the dream come true at the moment. I acknowledge that there is still a lot of work to do, and we have to be patient or maybe even help. |
Since Once someone can come up with a proof-of-concept application implemented in C, using This seems quite a premature feature request to me ;-). |
@rotty thanks for your reply. Just wanted to put the idea out there, so if someone is interested in it, it can be discussed with slightly more qualified developers 😄 I am constantly watching the changes being made to the standard, as well as runtime support for them. As it was mentioned, WASI code at the moment is only capable of reading and writing from/to open sockets, so i guess we are halfway there already! |
I think I'll close this now. If someone comes up with a PoC, having a |
I agree 👍 |
Hey there, maybe you guys have heard about the new and shiny WebAssembly WASI standard?
I think it might be very useful to try to add WASI support to rust-zmq. However, I am not sure whether the IPC is supported at all, I am far from being an expert in low-level Linux system calling 😄.
Here are the WASI Core system APIs for reference.
Thanks for your time!
The text was updated successfully, but these errors were encountered: