From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3498dd887729ed19 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Garbage Collection in Ada Date: 1996/10/17 Message-ID: #1/1 X-Deja-AN: 190114166 references: <01bbb910$f1e73f60$829d6482@joy.ericsson.se> <199610132138291604607@dialup101-6-14.swipnet.se> <19961014115513529729@dialup105-2-16.swipnet.se> <199610162305033003135@dialup100-4-3.swipnet.se> <3265BD97.41C6@mti.sgi.com> organization: New York University newsgroups: comp.lang.ada Date: 1996-10-17T00:00:00+00:00 List-Id: HJB says "It could require the existence of a collector, and a (partially) conservative collector may well be the most viable implementation strategy." What would it mean to sanction the existence of a collector. As I noted earlier, at most it could mean that you provide for the possibility of unreachable blocks disappearing, but there are several problems here: 1. Since you only *allow* such collection, completely ignoring the requirement is a valid semantic interpretation. 2. Since you can only collect unreachable blocks, the removal of them has null semantics in any case, unless you allow finalization to happen at unpredictable points, a nasty thought! 3. You cannot require blocks to disappear, since if you have conservative collectors in mind they do not guarantee to free even a single block in a given program. Conservative collectors are a clever idea, and are a clever response to dealing with wanting GC in an implementation that does not otherwise provide GC, but I don't see that the concept has any relevance in language design.