[MacRuby-devel] MacRuby and ARC was: Advice for Total Tyro

Henry Maddocks henry.maddocks at gmail.com
Mon Oct 17 13:28:20 PDT 2011


On 17/10/2011, at 7:11 PM, Igor Evsukov wrote:

> Hi Henry,
> 
>>> And it's impossible to make Ruby to use ARC.
>> 
>> Why?
> For memory management Objective-C uses a paradigm called "reference counting". 

...

> In Ruby we have garbage collector which is acts in whole different way 

I understand all this. But I'm not asking about _Ruby_, I'm asking about the MacRuby OBJ-C implementation of the Ruby language.

> So, basically, ARC and GC are two conceptually different things which are even not replaceable by each other(circular references).

This doesn't explain why MacRuby can't be implemented with ARC rather than relying on the OBJ-C 2 garbage collector.

Henry



More information about the MacRuby-devel mailing list