Skip to content
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

Hardware abstractions module for embedded devices #251

Closed
olanod opened this issue Mar 28, 2020 · 2 comments
Closed

Hardware abstractions module for embedded devices #251

olanod opened this issue Mar 28, 2020 · 2 comments

Comments

@olanod
Copy link

olanod commented Mar 28, 2020

Another WASI module request to further discuss :)
Having worked a bit with the rust embedded HAL I find it great to have this common interface layer to to write against without worrying much about the the hardware the code will be running on, this initiative is making Rust very attractive for embedded development and dare I say, one day be more popular than C.
One step beyond I see is the portability of WASI, imagine writing not only in Rust but C or any other language code that is deployed to a wide variety of hardware. In a different issue there was a guy already showing the wasm3 interpreter running on an ESP32! give it some APIs to access the GPIOs and the Bluetooth stack and 💥

I think looking at the abstractions created by the embedded-hal project and defining a WASI equivalent is a must have for the embedded market WASI will surely be targeting.

@sunfishcode
Copy link
Member

This is a cool idea! If anyone is interested in writing up witx descriptions of these APIs, that'd be a great place to start. Feel free to ask questions and/or post incomplete sketches here, and ask for help!

@linclark
Copy link
Member

linclark commented Dec 4, 2020

I'm going to close this one out since it's not actionable at the moment. But if someone wants to start work on a proposal in this direction, do feel free to post an issue or PR and we'd be happy to work with you on developing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants