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,5e4d70e34eb3cd88 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newspeer.monmouth.com!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Garbage Collection for Ada Date: 27 Sep 2005 19:49:06 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <1127594225.613707.86600@z14g2000cwz.googlegroups.com> <4155413.eEoQ3m6NZY@linux1.krischik.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1127864946 23826 192.74.137.71 (27 Sep 2005 23:49:06 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Tue, 27 Sep 2005 23:49:06 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: g2news1.google.com comp.lang.ada:5209 Date: 2005-09-27T19:49:06-04:00 List-Id: Martin Krischik writes: > Ada's natural storrage is the stack and not the heap - most objects are > created on the stack. So even with manual heap management Ada is a lot > easier to use then heap based. It's certainly a good idea to use local (stack) variables when possible, and Ada makes it possible in more cases than some other languages. However, for the kinds of programs I usually write (compilers, program analysis tools, etc) most objects are on the heap. By far. I use user-defined storage pools heavily, by the way. - Bob