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-Thread: 103376,21960280f1d61e84 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!homer!news.glorb.com!news-spur1.glorb.com!news.glorb.com!newsfeed2.telusplanet.net!newsfeed.telus.net!edtnps90.POSTED!023a3d7c!not-for-mail Sender: blaak@METROID Newsgroups: comp.lang.ada Subject: Re: How come Ada isn't more popular? References: From: Ray Blaak Organization: The Transcend Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 09 Feb 2007 19:02:56 GMT NNTP-Posting-Host: 208.66.252.228 X-Trace: edtnps90 1171047776 208.66.252.228 (Fri, 09 Feb 2007 12:02:56 MST) NNTP-Posting-Date: Fri, 09 Feb 2007 12:02:56 MST Xref: g2news2.google.com comp.lang.ada:9209 Date: 2007-02-09T19:02:56+00:00 List-Id: "Randy Brukardt" writes: > I'm primarily interested in destroying the entire structure, and often I > need no destruction at all: the structures exist until the termination of > the program. There's no point of earlier cleanup in such programs, and > surely no point in non-zero overhead to support such cleanup. I'm not aware > of any zero-overhead GC algorithm, because the basic tenet of GC is that you > can find all reachable objects: doing that requires some time and/or space > overhead. I don't think anyone anywhere claims zero-overhead for GC. The whole point is reasonable performance (in fact competitive with manual management) and a much easier job for the programmer, in situations with highly dynamic memory usage patterns. At any rate, one uses the tools that fit their needs. If you find yourself in situations with stable data structures, then it sounds like you don't need GC, plain and simple, or maybe even any cleanup at all. -- Cheers, The Rhythm is around me, The Rhythm has control. Ray Blaak The Rhythm is inside me, rAYblaaK@STRIPCAPStelus.net The Rhythm has my soul.