Re: Timely object destruction

2003-06-04 Thread Benjamin Goldberg
After reading Leopold Toetsch's post, I'm going to simplify part of my proposal slightly. Benjamin Goldberg wrote: [snip] > To avoid premature cleanup, any time that the contents of a > refcounted variable is assigned to a non-refcounted variable, an > opcode to set a "reachable by non-refcounted

Re: Timely object destruction

2003-06-04 Thread Benjamin Goldberg
Miko O'Sullivan wrote: > > On Mon, 2 Jun 2003, Benjamin Goldberg wrote: > > > All values needing timely destruction would inherit from a class > > RefCounted. > > I like this concept a lot, but maybe we can take it a little further > and make it transparent to the programmer. Suppose that the

Re: Timely object destruction

2003-06-03 Thread Miko O'Sullivan
On Mon, 2 Jun 2003, Benjamin Goldberg wrote: > All values needing timely destruction would inherit from a class > RefCounted. I like this concept a lot, but maybe we can take it a little further and make it transparent to the programmer. Suppose that the internals only tracked objects that have