See my earlier reply, basically, you are right, it is technically
possible to change the way MacRuby works to use an automatic reference
counting approach.
But it's far from being trivial.

- Matt


On Mon, Oct 17, 2011 at 1:28 PM, Henry Maddocks
<henry.maddo...@gmail.com> wrote:
>
> 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
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to