2 ms·
Async ruined rust and I’ll stand by that until I die
by likeabbas 4mo ago
Async ruined rust and I’ll stand by that until I die
- wseqyrku 4mo agoOn the contrary, my life depends on it right now
- bschwindHN 4mo agoAsync Rust can be nice, especially when juggling multiple tasks and composing them with timeouts and such. Async in an embedded context is actually really nice, too. You can have high level "send this thing over SPI, receive this data from USB" futures and they will run (ideally via DMA) and your CPU can go to sleep, only waking up when interrupts fire from the hardware peripherals you were using.
- WhyNotHugo 3mo agoI think it was rushed, and it has some rough edges that are now too late to fix post-stabilisation. But it's neat to have such a runtime. One annoying thing is that it's optimised for multi-threaded runtimes, so the APIs enforce lifetime requirements which don't make sense for single-threaded async applications.