- Certain control flow structures rely on continuations:
For instance, Ruby’s generator implementation requires them.
Generators provide the canonical - most natural and convenient -
solutions for problems as typical as iterating over two or more Arrays
in parallel, simple suspended execution, resumable functions, and
- Existing 3rd-party packages rely on continuations:
For instance, the very popular and useful ruby-breakpoint package is
designed around continuations.
- Certain possible features and packages need continuations:
The most obvious example is continuations-based web frameworks like
Seaside. The Ruby community has always been living on the cutting edge
of web technologies. Lack of continuations might prevent Rubyists from
pursuing one of the most interesting recent developments in