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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,19140af19dfa6e01 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-16 14:47:17 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!news.xtra.co.nz!53ab2750!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Ada 0Y plans for garbage collection? References: <1127954.kcBZz6amlf@linux1.krischik.com> <3F60E747.40805@attbi.com> <1557617.vUiuI5kIPQ@linux1.krischik.com> From: Berend de Boer Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (windows-nt) Cancel-Lock: sha1:gXN53mO2L4FFUgpoVwlu12Vt3E4= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 17 Sep 2003 09:45:42 +1200 NNTP-Posting-Host: 219.88.64.124 X-Complaints-To: newsadmin@xtra.co.nz X-Trace: news.xtra.co.nz 1063748836 219.88.64.124 (Wed, 17 Sep 2003 09:47:16 NZST) NNTP-Posting-Date: Wed, 17 Sep 2003 09:47:16 NZST Organization: Xtra Xref: archiver1.google.com comp.lang.ada:42585 Date: 2003-09-17T09:45:42+12:00 List-Id: >>>>> "Ludovic" == Ludovic Brenta writes: Martin> I agree with you on that one. A reference counting access Martin> type would be as good a real garbage collector. >> Only it adds a lot of overhead. A real garbage collector might >> take lots less cycles than all that reference counting. Ludovic> Linus Torvalds differs quite strongly on this: But really has no idea what current gc's can do. He says that compacting gc's solve the spatial locality. Performance is not a problem he says, so let's dismiss the extra overhead he mentions here, but had dismissed before. Temporal locality is solved by generational gc's. Start reading here: http://www.hpl.hp.com/personal/Hans_Boehm/pubs.html In a hurry? Read just this: ftp://ftp.cs.utexas.edu/pub/garbage/gcsurvey.ps And Linux was talking about a specific case: max speed. Perhaps he was correct. That doesn't imply gc is bad for every other app for which speed isn't that all important. -- Regards, Berend. (-: