Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Async/await appears to require runtime support, possibly even a modern OS. Wasn't rust supposed to be suitable for writing bare-metal code?

You're probably thinking of Tokio, the library for async network IO, which obviously depends on an OS. The async/await language feature compiles down to basically a state machine and has minimal runtime requirements. I'm looking forward to using it on bare-metal microcontrollers.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: