🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.clos
Article #325

Re: How to neatly destroy instances?

#325
From: Simon Leinen
Date: Tue, 13 Oct 1992 15:37
23 lines
1750 bytes
In article <26235.9210131340@subnode.aiai.ed.ac.uk>
jeff@aiai.edinburgh.ac.uk (Jeff Dalton) writes:

   Now, one thing that didn't happen in X3J13's revision of Common
   Lisp was changes to garbage collection to support such things 
   as finalization and weak pointers.  I think it was reasonable
   not to do this, but I want to add my voice to those saying
   "we want it" in the hope that implementors will be influenced.

Me too! (But maybe it's too late to complain to vendors :-) Allegro CL
4.1 has "weak vectors" and finalization, the Lucid 4.1 announcement
talks about new features called "weak pointers and finalization".
(Maybe this is going to be the next major application of #+/#- :-)

   I'm not really sure finalization is a good idea though.

Why not? Let me guess: Programs that rely on finalization methods a
lot will be difficult to debug; people will use finalization where
macros like WITH-OPEN-FOO would be more appropriate... finalization
just gives you more rope to hang yourself, seems to be compatible with
the CL approach - down with Bondage-and-Discipline languages!
-- 
Simon.
Technical Details
Message-ID: <SIMON.92Oct13163758@liasg2.epfl.ch>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!ira.uka.de!chx400!sicsun!disuns2!disuns2.epfl.ch!simon
References: <26235.9210131340@subnode.aiai.ed.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!ira.uka.de!chx400!sicsun!disuns2!disuns2.epfl.ch!simon
From: simon@lia.di.epfl.ch (Simon Leinen)
Newsgroups: comp.lang.clos
Subject: Re: How to neatly destroy instances?
Message-ID: <SIMON.92Oct13163758@liasg2.epfl.ch>
Date: 13 Oct 92 15:37:58 GMT
References: <26235.9210131340@subnode.aiai.ed.ac.uk>
Sender: news@disuns2.epfl.ch
Organization: DI-LIA -- Ecole Polytechnique Federale de Lausanne
Lines: 23
Nntp-Posting-Host: liasg2.epfl.ch
In-reply-to: jeff@aiai.edinburgh.ac.uk's message of 13 Oct 92 13:40:40 GMT
X-Md4-Signature: 029feb1de317a5929f3130e7178357ca