Jari Pennanen
- 10mo ·
-
Public·
-
twit.social
The best case for #Rust'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!"
https://github.com/embassy-rs/embassy?tab=readme-ov-file#rust--async-%EF%B8%8F-embedded