Jason Gloudon wrote:
On Wed, Jan 01, 2003 at 08:09:05PM -0800, Steve Fink wrote:To anyone out there who is thinking of a Grand Unified Infant Mortality Solution, here's another thing that vastly complicates things, and that we don't yet have a workable solution for yet: prompt finalization.
As long as you're using a tracing collector, you cannot provide a general guarantee of timely finalization without running a full sweep of the 'heap'. Even if you do not have to walk the hardware stack that's too costly to be practical.
Yep. s. google: "active destruction group:perl.perl6.internals" Subject "DOD etc"
The best partial solution to early finalization is compile-time tracing of possible references by the compiler which can explicitly generate the appropriate DESTROY calls.
... if the compiler can track all usage, which I doubt. leo