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!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.ada Subject: Re: How to get Ada to ?cross the chasm?? Date: Thu, 10 May 2018 15:52:17 -0700 Organization: A noiseless patient Spider Message-ID: <87tvrfyvha.fsf@nightsong.com> References: <1c73f159-eae4-4ae7-a348-03964b007197@googlegroups.com> <87zi1gz3kl.fsf@nightsong.com> <878t8x7k1j.fsf@nightsong.com> <87k1sg2qux.fsf@nightsong.com> <87h8njmk4r.fsf@nightsong.com> <87po27fbv9.fsf@nightsong.com> <87h8nhwhef.fsf@nightsong.com> <87d0y4zf7d.fsf@nightsong.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="8ee8a87c586ad688bbbd7b3afaf6ee4e"; logging-data="21245"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18yChK7CjlbFA0jM33HyaB6" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cancel-Lock: sha1:Rrl2hxJNSThtG7fRI+BibcNM+Ck= sha1:XKc/cMvGZ90s+lasmUSaE1cwIXY= Xref: reader02.eternal-september.org comp.lang.ada:52227 Date: 2018-05-10T15:52:17-07:00 List-Id: "Randy Brukardt" writes: > No wonder you don't understand: Ada 95 had none of the container stuff or > other features that reduces the memory management burden without using GC. > At a minimum, you need to consider Ada 2005, but the most recent Ada is > best. Ah, ok, I was also going by http://cowlark.com/2014-04-27-ada/index.html which claims Ada has no standardized way to release allocated memory (so each implementation had its own way). If you can suggest a good place to read about the current standard method I'd appreciate it. > you understand a Pascal-like subset of Ada and then pretty much ignore > all of the other possibilities. If you did that for C++, you'd get > essentially C; would that be a fair way to look at C++'s > capabilities?? To be fair, the Pascal-like subset I looked into first was SPARK (I read John Barnes' book about it) since SPARK was the aspect of Ada that at first interested me the most. I'd be interested to know how the Ada 2012 containers differ from C++ STL containers. As mentioned elsewhere I believe that the same guy (Alex Stepanov) had a hand in the design of both.