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,c406e0c4a6eb74ed X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!news.moat.net!lon-transit.news.telstra.net!lon-in.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!53ab2750!not-for-mail From: Dale Stanbrough Newsgroups: comp.lang.ada Subject: Re: ADA Popularity Discussion Request References: <49dc98cf.0408110556.18ae7df@posting.google.com> User-Agent: MT-NewsWatcher/3.4 (PPC Mac OS X) Message-ID: Date: Wed, 18 Aug 2004 03:30:57 GMT NNTP-Posting-Host: 138.217.18.112 X-Complaints-To: abuse@bigpond.net.au X-Trace: news-server.bigpond.net.au 1092799857 138.217.18.112 (Wed, 18 Aug 2004 13:30:57 EST) NNTP-Posting-Date: Wed, 18 Aug 2004 13:30:57 EST Organization: BigPond Internet Services Xref: g2news1.google.com comp.lang.ada:2800 Date: 2004-08-18T03:30:57+00:00 List-Id: Keith H Duggar wrote: > > (There are a number of language-defined capabilities > > in Ada that are addressed by libraries in C++, or which fall > > outside the standard of the latter - and less so, vice-versa). > > If you have the time, could you give me some examples of these? > In particular, examples of C++ capabilities that aren't built-in > to Ada would help me to get a better feel for Ada in relation to > what I already know and use (C++). > > Thank you for the help, Multiple inheritance. Constructor/Destructors that don't require inheriting from a fixed class. In place constructors i.e. you don't have to have a function that then copies the new object. I seem to remember that compilers could remove the copy as an optimisation. Anyone care to comment? Templates that can calculate a *lot* of stuff at compile time. (you can multiply matrices using a = b * c; notation with no copying). The #include model for including files in C++ means that there isn't a problem with recursively defined types in different files. and Keith H Duggar also wrote: > Excellent on both accounts! I look forward to seeing what > comes out of the the new standard. And is this the GNAT > compiler you are referring to? Would that be a good choice > me to get a first taste of Ada? Gnat is an excellent compiler and has the best error messages I have ever seen in a compiler. I groan every time I have to use the junk they call a Java compiler. The GNU C compiler is not much better. > > I don't know enough to support that generally; but, on a > personal basis I sure wish I had been exposed to Ada more > and earlier. Have a look at my notes at... http://www.adaware.net.au/ for a good discussion. Let me know if you would like to see more info in the notes. Dale -- dstanbro@spam.o.matic.bigpond.net.au