[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: So, what the heck is a continuation anyway?

At 08:58 PM 12/10/2001 -0600, Tony Kimball wrote:
>: Unless you heap allocate all values, copying the stack naively
>: will be a problem.
>This suggests a question, which may be of interest to many list
>members: Is there some good academic work on how to use
>garbage-collected heap activation frames without an enormous
>performance penalty on commodity CPUs?

At some point you throw enough hardware at it that you can call the 
performance good enough. :)

Perl does this, for all intents and purposes, with a refcount GC scheme for 
that extra added performance hit. Still fast enough to do useful things 
with it, and that's quite good enough for a pretty large subset of problems.


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                      teddy bears get drunk