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,308a261188818cce X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed01.chello.at!newsfeed02.chello.at!news.hispeed.ch.POSTED!not-for-mail Message-ID: <1930727.VX1Nefb3dc@linux1.krischik.com> From: Martin Krischik Subject: Re: Pointers explained? Newsgroups: comp.lang.ada Date: Wed, 01 Aug 2007 09:53:33 +0200 References: <1185817996.143086.317990@g12g2000prg.googlegroups.com> <1185818189.689914.159900@x40g2000prg.googlegroups.com> <4cslgd5ejxgp.rsknykje4paa$.dlg@40tude.net> <1185921504.964168.187720@57g2000hsv.googlegroups.com> User-Agent: KNode/0.10.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@hispeed.ch Organization: hispeed.ch NNTP-Posting-Host: 84.73.230.248 (84.73.230.248) NNTP-Posting-Date: Wed, 01 Aug 2007 10:30:05 +0200 X-Trace: c316846b0448df1ec435d21963 Xref: g2news2.google.com comp.lang.ada:1316 Date: 2007-08-01T09:53:33+02:00 List-Id: shaunpatterson@gmail.com wrote: > Thanks for all the help. > > I figured I had to use "new" eventually. In C++, allocating memory > doesn't > seem to bother me - mainly because I'm confident with the language and > feel like I can control the program flow better. However, in Ada, > that whole > "Unchecked_Deallocation" bothers me... although I seem to have used it > effectively. > The "Unchecked" part just makes it seem like Ada provides a better > way... > Are there any version of GNAT that support garbage collection? I'm > working > with 10-15 year old government system. Perhaps I can convince them to > upgrade > to an Ada compiler with a garbage collector Garbage Collection is indeed added to GNAT. AFAIK it is in an early stage and will take some time until finished. However, you are a GNAT/PRO customer so you will get premium support from AdaCore - so go for it. Make your live easy ;-) . Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com