[gclist] Name that hypothesis
Charles Fiterman
cef@geode.geodesic.com
Wed, 04 Dec 1996 08:29:29 +0000
At 10:51 AM 12/4/96 +0000, you wrote:
>> We (the Mercury compiler implementors) are currently working on
>> "LCMCA" (last call modulo constructor application) optimization.
>
>Interesting. So you receive results by reference? In pseudo-ML:
>
> fun foo 0 = [] | foo n = n :: (foo (n-1))
>
> =>
>
> fun foo' (p,0) = (p := [])
> | foo' (p,n) = (p := new_cons();
> car(p) := n;
> foo' (&cdr(p), n-1))
>
> ?
>
>(this is getting a little off-topic for GC-list).
Not at all. Modern languages are garbage collected this is very
on topic.
Charles Fiterman Geodesic Systems
Phone 312-728-7196 4745 N. Ravenswood Suite 111
Fax 312-728-6096 Chicago Il 60015
cef@geodesic.com
A computer language without garbage collection
is like a city without garbage collection.