Hacker News new | ask | show | jobs
by pornel 972 days ago
At the lowest level Rust's async is a syntax for generators (yield).

I've (ab)used them that way, without any async runtime, just to easily write stateful iterators.