Re: GC pros and cons
Re: GC pros and cons
- Subject: Re: GC pros and cons
- From: Chris Idou <email@hidden>
- Date: Thu, 25 Jun 2009 23:39:47 -0700 (PDT)
________________________________
From: James Gregurich <email@hidden>
> I have read up on GC, and I don't like the idea of introducing non-deterministic behavior into my code base.
I would question the assertion that GC introduces non-deterministic behavior, unless you consider the time it takes for particular code to execute to be "behavior".
In which case standard malloc/free is not deterministic either, since algorithms for amalgamating free areas in the heap are not exactly predictable, and the time they take will not be constant across different calls.
That's why if you were controlling the space shuttle you wouldn't use malloc/free OR GC.
Access Yahoo!7 Mail on your mobile. Anytime. Anywhere.
Show me how: http://au.mobile.yahoo.com/mail
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden