On Tue, 18 Oct 2011 10:04:37 +0200 Laurent Sansonetti
wrote:
> Hi Perry,
>
> On Tue, Oct 18, 2011 at 12:07 AM, Perry E. Metzger
> wrote:
> > On Mon, 17 Oct 2011 13:44:56 -0700 Matt Aimonetti
> > wrote:
> >> See my earlier reply, basically, you are right, it is technically
> >> possible to chang
Hi Perry,
On Tue, Oct 18, 2011 at 12:07 AM, Perry E. Metzger wrote:
> On Mon, 17 Oct 2011 13:44:56 -0700 Matt Aimonetti
> wrote:
>> 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.
>>
Sent from my iPhone
On Oct 17, 2011, at 2:26 PM, Igor Evsukov 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
Sent from my iPhone
On Oct 17, 2011, at 2:26 PM, Igor Evsukov 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
On Mon, 17 Oct 2011 13:44:56 -0700 Matt Aimonetti
wrote:
> 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.
Wouldn't reference counting radically chang
Even better then... Laurent and crew have done brilliant work to date... That
alone gives me confidence in macruby... Given a choice of objc v ruby sorry
ruby wins for me :)
Terry Moore
On 18/10/2011, at 10:48 AM, Igor Evsukov wrote:
> GC isn't an issue at all. There are apps on the AppStore
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
c
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
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
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
wrote:
>
> On 17/10/2011, at 7:11 PM, Igor Evsukov
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 unders
Python uses a reference counting GC, MacRuby could, in theory,
implement ARC under the cover. It would however make C extensions
really really hard to support.
- Matt
On Sun, Oct 16, 2011 at 11:11 PM, Igor Evsukov wrote:
> Hi Henry,
>
> And it's impossible to make Ruby to use ARC.
>
> Why?
>
> F
Hi Henry,
>> And it's impossible to make Ruby to use ARC.
>
> Why?
For memory management Objective-C uses a paradigm called "reference counting".
The idea is very simple – when You need an object – You increase it reference
count, when You no longer need it – You should decrease it. For example
On 16/10/2011, at 9:07 PM, Igor Evsukov wrote:
> And it's impossible to make Ruby to use ARC.
Why?
Henry
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
14 matches
Mail list logo