Stackless 3.0 alpha 1 at blinding speed

Courageous jkraska at san.rr.com
Sun Apr 20 19:56:00 CEST 2003


>They also seem to have the property that before you understand them, no
>explanation will improve your understanding; and after you understand
>them you lose the ability to explain it <wink>.

Stacklessness is actually far harder to explain than a continuation.

In environments that I work on where continuations aren't available,
but the same features must exist, the hand-rolled equivalent is a set
of "parked" threads whereby some scheduler is written to selectively
activate them. That's how they work, conceptually. A continuations is
a marker for a "place one can return to whenever one might want". No
big deal, really. Doesn't have to be complicated.

'Course the implementation details may be a bit harder to explain,
depending. :-)

C//





More information about the Python-list mailing list