lua-users home
lua-l archive

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


Hallo,

On 8/22/07, David Kastrup <dak@gnu.org> wrote:
>
> As a note aside: there is an interesting native implementation of
> call/cc if I remember correctly: subroutines _never_ return.  Instead,
> the call stack is garbage-collected&compacted together with the heap.
> That way, the dynamic context stays alive as long as it is needed.
>

     This technique is the basis of the Chicken Scheme compiler, that
produces native executables via C:

http://home.pipeline.com/~hbaker1/CheneyMTA.html

Cheers,
-- 
-alex
http://www.ventonegro.org/