Stackless 3.0 alpha 1 at blinding speed
jkraska at san.rr.com
Sun Apr 20 19:13:41 CEST 2003
>Thanks. It seems Tim is making a heroic effort to explain the new in
>terms of the old. This necessarily must fail, but what other option is
>there instead of rebuilding all terminology out of gotos?
"non local goto" describes it well, but another way of looking at
it is as a "first class, user controlled context switch". That's
actually the meat of what it is. In unix, theoretically one could
set up the heavy weight equivalent of a continuation by the use of
setjmp and longjmp, although certain patterns of setjmp/longjmp
aren't always safe. Continuations are (or at least are supposed to
In conjunction with a "stackless" environment, a continuation is
actually a very lightweight state save coupled with the ability
to restore to the last point the continuation was set.
More information about the Python-list