Memory Safety without a GC or Ref Counting

Jacob Carlborg doob at me.com
Mon Jan 21 23:31:00 PST 2013


On 2013-01-22 01:46, Michel Fortin wrote:

> And I'll confirm that it's no magic either. Avoiding cyclic references
> isn't that easy when you start mixing implicitly retained pointers with
> Objective-C's blocks (lambas in C++ or delegate literals in D).
>
> I'm a little sad Apple decided to deprecate its Objective-C garbage
> collector. Having the choice between GC and reference counting was great
> (although it surely sucks for library developers who need to support
> both modes).

Yeah I agree, but ARC works for iOS as well. They never implemented the 
GC on iOS. Now is MacRuby is available on iOS, which is probably due to ARC.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list