lua-users home
lua-l archive

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


On 8/22/07, David Kastrup <> 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: