[gambit-list] continuation implementation details
Alex Queiroz
asandroq at gmail.com
Wed Jun 8 17:41:57 EDT 2011
Hallo,
On Wed, Jun 8, 2011 at 11:35 PM, Hendrik Boom <hendrik at topoi.pooq.com> wrote:
>
> One hack -- Just let your C functions keep calling and never returning.
> When it's time too return, call the continuation as you'd expect.
> You'll never see old stack frames again unless they contain data you
> need to point to. Even cons will just give you stack storage, fill it
> in, and call the continuation with a pointer to the consed cell.
>
This is the Cheney on the MTA technique:
http://home.pipeline.com/~hbaker1/CheneyMTA.html
--
-alex
http://www.artisancoder.com/
More information about the Gambit-list
mailing list