alloca(), #if, and other controversial things...

Jeff Siegal jbs at fenchurch.MIT.EDU
Mon Aug 22 09:55:39 AEST 1988


In article <1271 at garth.UUCP> smryan at garth.UUCP (Steven Ryan) writes:
>>Take a look at Scheme.  
>Eh? Summary, please?

Sorry.  Scheme is a lexically scoped LISP dialect, implementations of
which often place environments (local variable bindings) on a stack
rather than the heap (when possible).  This can give you both the
generality of a heap and the efficiency of a stack.

It is also interesting (although unrelated) that implementations of
Scheme are encouraged to support tail-recursion efficiently, making it
the priamary iterative mechanism.

Jeff Siegal



More information about the Comp.lang.c mailing list