-
Notifications
You must be signed in to change notification settings - Fork 115
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
Add support for WASM #16
Comments
If you can also support golang code cross compiled with tinygo that would be awesome . mother wasm runners tend not to support tinygo , and instead only support rust and c |
@gedw99 Thanks for your suggestion. May be you can try gasm to run wasm file compiled by tinygo. For how to use eggos to write bare metal programs, you can refer to this article https://icexin.com/post/running-go-application-on-bare-metal/. If you encounter any errors, please feel free to submit an issue. Hope it helps. |
It looks, unfortunately, that Haan is a dead project. Maintainer says this here: tetratelabs/wazero#25 I really just wanted to make sure that whatever wasm VM runner you use that it supports wasm compiled from golang. suborbital is a good wasm vm runner but it does not support wasm compiled from golang last time I checked. It supports rust . |
It may still be good enough to embed in eggos though as it looks like a fairly complete and minimal WASM VM. |
suborbital uses wasmer-go as the virtual machine of wasm, which uses cgo. Unfortunately, eggos currently does not support cgo packages. |
@icexin I am using suborbital - https://github.com/suborbital It has been stable and the support is excellent. Tinygo has been confirmed that it will be supported. Its just taking a while due to some hold ups in wasm-go. So i think its an excellent choice. It works well with NATS also. |
Add support for WASM, it is best to support the WASI standard, so as to support programs written in c or c++ as user programs. In addition, need to add documentation on how to compile c/c++ to wasm.
The text was updated successfully, but these errors were encountered: