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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d978d3056ed727b9 X-Google-Attributes: gid103376,public From: dvdeug@x8b4e53cd.dhcp.okstate.edu (David Starner) Subject: Re: Language Challenge 2000 - Update Date: 2000/02/04 Message-ID: <87fo89$aqm1@news.cis.okstate.edu>#1/1 X-Deja-AN: 581740227 References: <38991E72.293907A4@sdynamix.com> <38992ADB.AC8748A8@mail.utexas.edu> <87bbro$9281@news.cis.okstate.edu> <87cg3u$8a21@news.cis.okstate.edu> <87d196$8q61@news.cis.okstate.edu> <87f3oe$92a1@news.cis.okstate.edu> Organization: Oklahoma State University User-Agent: slrn/0.9.6.2 (Linux) Reply-To: dstarner98@aasaa.ofe.org Newsgroups: comp.lang.ada Date: 2000-02-04T00:00:00+00:00 List-Id: On Fri, 4 Feb 2000 15:35:02 -0800, Brian Rogoff wrote: >On 4 Feb 2000, David Starner wrote: > >> On Fri, 4 Feb 2000 07:53:54 -0800, Brian Rogoff wrote: >> >What is the opposite/dual of a "conservative" garbage collector? >> One that collects stuff that's in use? (-: > >The opposite/dual of a "conservative" garbage collector is a "precise" or >"accurate" garbage collector. Yes, I knew that. Hence the smiley. Sorry. >A conservative garbage collector (and really >garbage collector should be in quotes) is not guaranteed to collect all >garbage. Does that help a little? Sure, but a generational GC won't collect all the garbage each time it does garbage collection, either. And most GC's will overlook a technically live pointer that won't get used again. Anyway, how would you implement a "precise" garbage collector in pure Ada? The only way I can see working is by manually adding roots, like GCC (2.96)'s internal GC does. But that's a pain that's also mistake-prone. I probably don't understand storage pools well enough for this, though. -- David Starner - dstarner98@aasaa.ofe.org Only a nerd would worry about wrong parentheses with square brackets. But that's what mathematicians are. -- Dr. Burchard, math professor at OSU