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,7343d4a788a9b1a5 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!i39g2000cwa.googlegroups.com!not-for-mail From: "Martin Krischik" Newsgroups: comp.lang.ada Subject: Re: How-to on using the adacl-gc packages Date: 14 May 2006 23:52:08 -0700 Organization: http://groups.google.com Message-ID: <1147675928.810016.197550@i39g2000cwa.googlegroups.com> References: <820e1$44676a08$52ae05e3$31697@news.versatel.net> <1147631169.665365.244810@i40g2000cwc.googlegroups.com> NNTP-Posting-Host: 138.189.120.37 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1147675933 18264 127.0.0.1 (15 May 2006 06:52:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 15 May 2006 06:52:13 +0000 (UTC) In-Reply-To: <1147631169.665365.244810@i40g2000cwc.googlegroups.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: i39g2000cwa.googlegroups.com; posting-host=138.189.120.37; posting-account=2-0LkQwAAAAQMhPSoYwlMiUmi-6lYh44 Xref: g2news2.google.com comp.lang.ada:4259 Date: 2006-05-14T23:52:08-07:00 List-Id: Steve Whalen wrote: > 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. I know at least one memory allocation problem where I have not yet found a solution for - no matter how much engineering I have put into the problem: task type T; type T_Access is access T; ... X : T_Access := new T; The last I read only recently here was: task types are small - don't bother deallocating them. Anybody got any better advice? Martin