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,184737148aef02ac X-Google-Attributes: gid103376,public From: Samuel Mize Subject: Re: Garbage collection - was Re: Building a compiler Date: 1999/02/19 Message-ID: <7aiau2$2i9p@news3.newsguy.com>#1/1 X-Deja-AN: 445909401 References: <78sojm$crk$1@plug.news.pipex.net> <7982p7$nll$1@plug.news.pipex.net> <87aeyv4kbg.fsf@mihalis.ix.netcom.com> <79asc3$cq3$1@nnrp1.dejanews.com> <79c2ch$j1c$1@remarQ.com> <79ckt6$rp3$1@nnrp1.dejanews.com> <7ah65p$4ag$1@remarQ.com> <7ahbes$is5@news1.newsguy.com> Organization: ImagiNet Communications, Ltd. User-Agent: tin/pre-1.4-981002 ("Phobia") (UNIX) (AIX/3-2) Newsgroups: comp.lang.ada Date: 1999-02-19T00:00:00+00:00 List-Id: Samuel Mize wrote: > news.oxy.com wrote: >> As far as garbage collection concerned Mr. Devar probably did not read my >> other message posted yearlier than mentioned at the top that I've already >> did it for myself (as a small experiment). > > Looks like that message has scrolled off my newsreader. What kind of > garbage collection did you implement? ... > I'll dig in Deja News and see what you posted earlier. OK, I looked it up. What you say you did was: > ... I created and tested small top-level package that performs > user defined garbage collection using controlled access type to the > controlled class-wide types. This package (just small experiment or > exercise) proved to be working fine and I an going to use it later to > create hierarchy of controlled types with automatic garbage collection. So, it isn't a general garbage collector integrated into the compiler. It's a controlled type that cleans itself up -- I assume it's using reference counting. That's a useful exercise, and I'd like to see you post the code. But it's not particularly related to the level of effort it would take to do a full-up, behind-the-scenes garbage collector integrated into the compiler. I'm not aware of a project to develop garbage collection for GNAT -- anybody, is there one going? ACT isn't planning to do it. Is the Ada community going to do it? Best, Sam Mize -- Samuel Mize -- smize@imagin.net (home email) -- Team Ada Fight Spam: see http://www.cauce.org/ \\\ Smert Spamonam