2 ms·
i think stable coroutines [0] would be huge for rust. they would enable writing pure state machines in the form of straight line imperative code. currently the
by skavi 1y ago
i think stable coroutines [0] would be huge for rust. they would enable writing pure state machines in the form of straight line imperative code.
currently they’re used in the implementation of async/await, but aren’t themselves exposed.
[0]: https://doc.rust-lang.org/beta/unstable-book/language-features/coroutines.html https://doc.rust-lang.org/beta/unstable-book/language-featur...