develooper Front page | perl.perl6.language | Postings from July 2002

Re: Continuations for fun and profit

Thread Previous | Thread Next
From:
Ted Ashton
Date:
July 8, 2002 15:08
Subject:
Re: Continuations for fun and profit
Message ID:
20020708180803.N6125@ns.southern.edu
Thus it was written in the epistle of Peter Scott,
> 
> So if you could serialize a continuation, you could freeze your program 
> state to disk and restore it later?  Cool, makes for easy checkpoint/restarts.

I think that that would be true only if *all* data was maintained in those
scratchpads which are related to the continuation.  It doesn't just save all
data generally or $foo (from the example) would never really get decremented.

Ted
-- 
Ted Ashton (ashted@southern.edu) | From the Tom Swifty collection:
Southern Adventist University    | "The bank doesn't even want me as a
Deep thought to be found at      | depositor", said Tom unaccountably.
http://www.southern.edu/~ashted  |

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About