GC isn't an issue at all. There are apps on the AppStore that written in 
C#(Mono) or Lua which uses it own VM's with garbage collection. 

I think that the main issue why Apple don't support MacRuby officially on iOS 
is high memory usage. Potentially, if MacRuby will be shipped with iOS, so it 
can be used as a shared library memory usage will more or less acceptable. But 
this step require MacRuby to be very stable and mature because Apple wouldn't 
update an iOS with each minor MacRuby release.

On 18 окт. 2011, at 00:35, Terry Moore wrote:

> So I can understand not having gc on ios those cycles are precious. But 
> looking ahead the hardware is moving to multicore and larger ram... In which 
> case (perhaps including blocking for high priority tasks) a gc could be used 
> without the current restrictions...
> 
> Terry Moore
> 
> On 18/10/2011, at 10:26 AM, Igor Evsukov <igor.evsu...@gmail.com> wrote:
> 
>> Hi Henry,
>> 
>>> This doesn't explain why MacRuby can't be implemented with ARC rather than 
>>> relying on the OBJ-C 2 garbage collector.
>> Do You know what the difference between Garbage Collection and Reference 
>> Counting?
>> 
>> Current MacRuby VM implementation heavily depends on presence of GC. 
>> Potentially You could modify it to use ARC instead. The question is how much 
>> time do you need to spent on it and how you plan to support C extensions? 
>> 
>> Again, please, watch the end of Joshua Ballanco talk at BostonRB ( 
>> http://bostonrb.org/presentations/macruby-what-is-it-and-why-should-i-care-part-1
>>  ) when he talk about issues of porting MacRuby to iOS. It isn't an issue to 
>> move MacRuby to it's own GC, there even was some efforts to do it 
>> https://github.com/takuma104/iphone-macruby 
>> 
>> On 17 окт. 2011, at 23:28, Henry Maddocks 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
> _______________________________________________
> 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