Re:Await in Rust
by that_jojo on Monday August 12, 2019 @11:29AM
(#20676302)
Maybe I'm really dense, but what on earth does loop unrolling have to do with concurrency or asynchronous code?
[ Parent
| on HN ]
Re:Await in Rust
by bryanlarsen on Monday August 12, 2019 @12:06PM
(#20676713)
Cooperative multitasking is typically done with a high level loop pumping a state machine. Duff's device is often quite useful in that implementation.