Buddha Buck wrote:
> They represent the -entire- future history of the program.

You imply that the entire current state of a program is captured
in a continuation. Is that really true? In a pure functional
language it is (side-effect free). In Perl (and Scheme) assignments
to global variables probably won't be restored -- continuations
are outrageously expensive/inefficient and I have trouble seeing
that all reachable data is going to be captured. It would make
them useless even for experimentation.

> Continuations can be used to implement co-routines:

IMHO, we should leave continuations to language theorists
and implement directly things like non-local goto (catch/throw)
and threads.

Besides, continuations can be implemented as a module... ;)

- Ken

Reply via email to