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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7343d4a788a9b1a5 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!i40g2000cwc.googlegroups.com!not-for-mail From: "Steve Whalen" Newsgroups: comp.lang.ada Subject: Re: How-to on using the adacl-gc packages Date: 14 May 2006 11:26:09 -0700 Organization: http://groups.google.com Message-ID: <1147631169.665365.244810@i40g2000cwc.googlegroups.com> References: <820e1$44676a08$52ae05e3$31697@news.versatel.net> NNTP-Posting-Host: 68.238.129.116 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1147631174 15097 127.0.0.1 (14 May 2006 18:26:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 14 May 2006 18:26:14 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: i40g2000cwc.googlegroups.com; posting-host=68.238.129.116; posting-account=GBMmzA0AAABrZ0dHOASa3b2Cdf-RliH9 Xref: g2news2.google.com comp.lang.ada:4252 Date: 2006-05-14T11:26:09-07:00 List-Id: As for rationales against garbage collection in Ada, you'll probably hear more along these lines: Ada is a language intended to be used to engineer high quality, high reliability software. Garbage Collection generally is a tool to that is used to cover up a failure to know and control your program. An application should be written in such a way that there are no memory leaks or memory kept allocated after you've finished using it. Developing very high quality software requires active engineering on the part of the programmer / designer, not a adding a tool that tries to clean up the mess after you've created it. In Ada, you're not supposed to create a "mess" (though it's perfectly possible to make a mess of a program in Ada just as in any programming language). While I don't completely subscribe to this line of thinking, I do think that before including garbage collection in an Ada program, you should carefully review _why_ you want to use it (instead of maintaining positive memory control throughout the application) and you should be very sure you can live with the impact of garbage collection on the timing and other performance requirements of the program. Steve Erik J Pessers wrote: > ... > > Also: any general feelings on whether including > garbage collection is something to really worry > about in practice? > ...