Robin Redeker writes:
> On Sat, Apr 30, 2005 at 05:02:54PM -0400, Dan Sugalski wrote:
> > destroy. There's a vtable method that's called by the GC system when 
> > an object is no longer reachable from the root set.
> 
> Actually, not when, but some (indefinite) time after that has happened,
> right?
> 
> > > And if so, what
> > >would the purpose of them be?
> 
> First, let me define "destructor" as something that runs very soon after
> an object is no longer reachable (perl5 sense), and a "finalizer" as
> somethign that gets called before the memory of an object gets reused
> (java sense).

Just so you don't talk past each other, I'll point out that this is
backwards from how we usually talk about these.

Luke

Reply via email to