[gambit-list] How to implement call/cc in a GVM interpreter?
Oleg Parashchenko
olpa at uucode.com
Mon Feb 7 07:05:02 EST 2011
Hello Marc,
On Fri, 4 Feb 2011 09:26:21 -0500
Marc Feeley <feeley at iro.umontreal.ca> wrote:
...
> So... continuations can indeed be implemented by copying the stack.
> Copying the entire stack however is wasteful and can lead to very poor
> performance. For this reason Gambit copies each frame independently.
> Pages 72-80 of the "Gambit inside out" presentation explain how
> continuations are implemented in Gambit (see the Gambit wiki main page
> for the link to the talk).
Thanks for the pointer, and the whole presentation is very interesting!
>
> Marc
--
Oleg Parashchenko olpa@ http://uucode.com/
http://uucode.com/blog/ XML, TeX, Python, Mac, Chess
More information about the Gambit-list
mailing list