Re: Dispose pattern (was: Re: GC pros and cons)

2009-06-29 Thread Konrad Neitzel
Hi Stephen, thank you very much for taking the time to look at the given link and writing this very nice response to me. Think I was little confused so I mixed a few things that simply should stay seperate. (Managing resources in close() has simply nothing to do GarbageCollection. Some activit

Re: Dispose pattern (was: Re: GC pros and cons)

2009-06-28 Thread Stephen J. Butler
On Sun, Jun 28, 2009 at 10:50 AM, Konrad Neitzel wrote: > But a garbage collector must be able to detect an object which memory can / > must be released. And for all this, the system has to do some work. > > I still have to read much more about the GC used within Objective-C / Cocoa > so I am not

Dispose pattern (was: Re: GC pros and cons)

2009-06-28 Thread Konrad Neitzel
Hi all! Thomas Davie schrieb am 27.06.2009 09:56:31: > On 27 Jun 2009, at 01:27, James Gregurich wrote: > > GC isn't nirvana. it does have its perils and issues, and you have > > to be aware of them and code around them. You can't just turn it on > > and some how everything magically works.