Hi,

In my master thesis I dealt with Continuations Based Web Servers and
tried to use continuations in Rails. This didn't go very well. I
expected continuations to work like I knew from their definition, but
they don't restore state in Ruby (1.8.6). Further the use of
continuations is limited to the thread they are created in. This seems
to be caused by implementing continuations with threads.

I know continuations are much discussed, but I don't want to go in
this topic very deep here. My concern is to bring back into mind that
continuations are a very helpful programming tool for special topics
like Continuation Based Web Server.

Maybe you know Seaside (a Continuation Based Web Server in Smalltalk),
which uses Continuations to support state and a linear kind of control
flow in web applications. To my mind Ruby should, as a web programming
language, offer continuations without their current limitations.

I'd be happy if you would consider this attempt I your future thoughts
about developing Ruby. And I'd love to see continuations implemented
in future Ruby versions.

Thanks & regards
Ruben