On Feb 18, 2007, at 1:49 PM, Seth Willits wrote:

> On Feb 17, 2007, at 12:53 PM, Charles Yeomans wrote:
>
>>> If garbage collection is finally available,
>>> you never need to release anything - as in RB.
>>
>> Except that it's still Objective-C, which means that one will be  
>> able to evade memory management.  This means that it will be  
>> possible to do it by accident, and so the need for complex malloc/ 
>> free problem hunting will remain, though perhaps that need will be  
>> reduced.
>
> I don't follow what you mean. If you mean that if you turn garbage  
> collection on and accidently call -release somewhere that this will  
> be a hard bug to track down, you'd be wrong. It ignores -retain, - 
> release, and -autorelease.

Any valid C program is also a valid Objective-C program. Thus it is  
certainly possible to include C code whose garbage will not be  
collected.  Given that it is possible, it is then also possible to do  
it by accident.

Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to