Hacker News new | ask | show | jobs
by likeabbas 5 days ago
Async ruined rust and I’ll stand by that until I die
2 comments

Async 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.

On the contrary, my life depends on it right now