[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tail calls (was Re: the benefits of immutability)
Shriram Krishnamurthi <sk@cs.brown.edu> writes:
> > 7. In general, no tail recursion.
>
> Rather,
>
> 7. In general, no tail calls.
Speaking of tail calls, it appears the latest gcc (gcc 3.3.1) does
full tail call optimizations, which it calls "sibling call
optimization". Does anyone know if the feature is reliable enough to
exploit in implementing higher level languages on top of C that need
tail call optimization?
--
Perry E. Metzger perry@piermont.com