Re: [MacRuby-devel] Garbage Collector in MacRuby

2010-04-10 Thread Daniel Lopes
Thanks to answer Laurent. On Sat, Apr 10, 2010 at 9:47 PM, Laurent Sansonetti wrote: > Hi Daniel, > > MacRuby uses the Objective-C garbage collector, and also runs the > Objective-C runtime in GC mode. It basically means that you can use Cocoa > objects without the need to retain/release them, an

Re: [MacRuby-devel] Garbage Collector in MacRuby

2010-04-10 Thread Laurent Sansonetti
Hi Daniel, MacRuby uses the Objective-C garbage collector, and also runs the Objective-C runtime in GC mode. It basically means that you can use Cocoa objects without the need to retain/release them, and they will be automatically collected at runtime once there is no reference to them anymore.

[MacRuby-devel] Garbage Collector in MacRuby

2010-04-10 Thread Daniel Lopes
Hello, I would like to know more about the garbage collector. In Obj-c even when we have GC enabled we should set nil to the vars (which sometimes is also useful in pure ruby). Correct me if I'm wrong but in MacRuby we can't use GDB, right? We still able to use profile tools? I should set all vars