[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Features you would like to see
- From: "Alex Queiroz" <asandroq@...>
- Date: Wed, 22 Aug 2007 08:32:49 -0300
On 8/22/07, David Kastrup <email@example.com> 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: