This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gh_enter reconsidered


On Mon, Oct 26, 1998 at 05:30:47PM +0000, Bruce Stephens wrote:
> I think this is true.  It's expected that objects should know how to
> delete themselves properly, if the default mechanisms don't work.
> i.e., if you design an object which might contain circular structures,
> then you should do something special in the destructor.
> 
> Probably not appropriate for scheme, as you say!

>From the docs for one of the perl modules (the postscript thingamajig, I
think) there are circumstances under which the perl interpreter can't
reclaim memory used by objects that have circular references.  

Maybe that's changed, but I doubt it.

-- 
Peter C. Norton                      Time comes into it. / Say it.  Say it.
spacey@pobox.com                   | The Universe is made of stories,  
http://spacey.dyn.ml.org           | not of atoms. 
                                   |
                                     Muriel Rukeyser "The Speed of Darknesss"