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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!fx28.iad.POSTED!not-for-mail From: Hubert User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Stupid Question but it bothers me References: <6Tgvw.1229422$Rp.389422@fx23.iad> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 150119-1, 01/19/2015), Outbound message X-Antivirus-Status: Clean Message-ID: X-Complaints-To: abuse@newsdemon.com NNTP-Posting-Date: Tue, 20 Jan 2015 05:06:30 UTC Organization: http://www.NewsDemon.com Date: Mon, 19 Jan 2015 21:06:31 -0800 X-Received-Bytes: 2021 X-Received-Body-CRC: 91919503 Xref: news.eternal-september.org comp.lang.ada:24624 Date: 2015-01-19T21:06:31-08:00 List-Id: On 1/19/2015 20:56 PM, David Botton wrote: >> Thanks, that helps understand the process. Curiously, most Ada books >> seem to treat Unchecked_Deallocation like a stepchild. I have read >> advices (in older books perhaps) that one should not bother with it >> since all memory will be freed at program end anyway, which clearly >> seems to be from a different time period. > > Well often in Ada it is possible to get around needing it. Using the stack, storage pools, etc. > > David Botton > Well I haven't dealt with storage pools yet, I'm trying to get my first real Ada program going here to learn the basics better, so I stay away from all OO features and anything more complex. Amazingly the tasking system is really easy to use compared to creating threads and handling them in C, so that's positive. I will have a deeper look at the storage pool section in Barne's book to see what I missed there --- This email has been checked for viruses by Avast antivirus software. http://www.avast.com