Hacker News new | ask | show | jobs
by fulafel 2750 days ago
> Instead of thinking of a CPS-like transform where an async function is split into a series of continuations that are chained together via a Future::then method, Rust instead uses a generator/coroutine transform to turn the function into a state machine

State machines are also what Clojure(Script) core.async uses.

(Easy choice as there are no continuations available)