[DGD] Some basics

Felix A. Croes felix at dworkin.nl
Mon Oct 20 21:41:21 CEST 2003


Stephen Schmidt <schmidsj at union.edu> wrote:

>[...]
> This raises a general question. When there are circular
> references in a data structure (A refers to B which refers
> to C which refers to A) then nothing can be destructed -
> A can't be destructed because C refers to it, but C can't
> be destructed because B refers to it and B can't be destructed
> because A refers to it. But circular inheritance isn't (had
> better not be!) possible.
>
> Question 1: Can this kind of problem arise in ObjectD?
>
> Question 2: I have a dim memory that LPMud, and maybe MudOS
> also, suffered from something called a "lifetime lvalue bug"
> which was never explained to me, but which was some kind of
> circular-reference garbage-collection problem. Does DGD have
> this problem as well? If so, what the heck is it? Or is my
> memory just wrong in this case?

Answering both questions together: DGD takes care of this.  Don't worry
about it.  The latest version in the experimental line does so
automatically, and the 1.2pX line does it when a swapout() call is made.

Regards,
Dworkin
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list