Re: RFC 47 (v1) Universal Asynchronous I/O

[email protected] (John Tobey) Tue, 8 Aug 2000 22:49:13 -0400
Newsgroups perl.perl6.language.flow
Message-ID <[email protected]>
On Tue, Aug 08, 2000 at 01:55:15PM +0100, Piers Cawley wrote:
> Given that a continuation is going to store the state of the
> interpreter doesn't a serialized continuation have the potential to
> get very large indeed? Which may well be a bad thing.

As has been mentioned on a nearby subthread, we're probably just going
to store the function call stack, not top-level variables or code.
Continuations can still get large, especially if you create them deep
within a chain of function calls with lots of my and local vars, and
complex expressions requiring temporaries.  Think of it as a somewhat
elongated Carp::confess string.

-John