The best case for 's async-await comes from embedded:

"Rust's async/await allows for unprecedently easy and efficient multitasking in embedded systems. Tasks get transformed at compile time into state machines that get run cooperatively. It requires no dynamic memory allocation, and runs on a single stack, so no per-task stack size tuning is required. It obsoletes the need for a traditional RTOS with kernel context switching, and is faster and smaller than one!"

github.com/embassy-rs/embassy?

0
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Replies