David Mitchell wrote: > James Mastros <[EMAIL PROTECTED]> wrote: > > [snip about DESTORY predictablity not being neccessary] > > You're probably right about that, Branden. Quite nice, but not neccessary. > Hmm, I'd have to say that predictability is very, *very* nice, > and we shouldnt ditch it unless we *really* have to. > I guess we really have to, unless we keep ref-counting (but that would have circular references, so...). > [ lots of examples of freeing up database connections, locked files etc, > not included here because it would involve too much typing.... :-) ] > With something to call DESTROY explicitly, you could call it where you *need* to free the resources as soon as possible. And a case where you don't know (or remember) to do it, it would be done for you by the GC when it finally collects the object. You know, better late than never... - Branden
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Peter Scott
- Re: Garbage collection (was Re: JWZ on s/Java/Per... Dan Sugalski
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Nicholas Clark
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) David Mitchell
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Branden
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) James Mastros
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) John Porter
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) James Mastros
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) David Mitchell
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Branden
- Re: Garbage collection (was Re: JWZ on s/Java/Per... James Mastros
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Branden
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Dan Sugalski
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Branden
- Re: Garbage collection (was Re: JWZ on s/Java/Per... James Mastros
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) Branden
- Re: Garbage collection (was Re: JWZ on s/Java/Perl/) John Porter
- Resource Management ? Elizabeth Mattijsen