Continuations in D?

David Medlock noone at nowhere.com
Mon Feb 20 07:48:57 PST 2006


Remy Moueza wrote:
> I thought it was possible to simulate continuations with a smart use of C's
> setjump and longjump though I never tried to implement any.
> Has anyone had a similar idea ?
> 
> 
http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html

This method seems much less flexible than true continuations, which 
depict differing branches of the program which can be executed multiple 
times.

-DavidM



More information about the Digitalmars-d mailing list