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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,703c4f68db81387d X-Google-Thread: 109fba,703c4f68db81387d X-Google-Thread: 115aec,703c4f68db81387d X-Google-Thread: f43e6,703c4f68db81387d X-Google-Attributes: gid103376,gid109fba,gid115aec,gidf43e6,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!news.tele.dk!dotsrc.org!news.dotsrc.org!not-for-mail Message-ID: <1791385.6pXoXR7THK@linux1.krischik.com> From: Martin Krischik Subject: Re: Teaching new tricks to an old dog (C++ -->Ada) Newsgroups: comp.lang.ada,comp.lang.c++,comp.realtime,comp.software-eng Reply-To: martin@krischik.com Date: Wed, 16 Mar 2005 09:46:23 +0100 References: <1110059861.560004@athnrd02><422b6d49.1141887367@news.xs4all.nl> <1110266099.441421.179290@o13g2000cwo.googlegroups.com> <1110332933.587110.260410@z14g2000cwz.googlegroups.com> <1110390097.532139.43430@f14g2000cwb.googlegroups.com> <422f3808$0$30165$ba620e4c@news.skynet.be> <1110409958.685759.249420@g14g2000cwa.googlegroups.com> <15SdnYvJ0_x3Vq3fRVn-3Q@megapath.net> <1110522060.091940.178510@l41g2000cwc.googlegroups.com> <1110556346.841594.212520@z14g2000cwz.googlegroups.com> <4952804.Myubg7stsI@linux1.krischik.com> <1462853.JgxLXPrZ7W@linux1.krischik.com> <1110831270.911813.215820@f14g2000cwb.googlegroups.com> <2484756.KTycvJxKQH@linux1.krischik.com> <1110907090.268126.101030@g14g2000cwa.googlegroups.com> Organization: None User-Agent: KNode/0.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit NNTP-Posting-Host: 83.169.175.19 X-Trace: DXC=7m077l;i4F4=M\fUi`VZVR4;96T4S5daR30PdP5V:_8RJBabH=X;7WU9ib2Z;;ofE5L8NBM66]g0BZ_me`8 X-Complaints-To: staff@sunsite.dk Xref: g2news1.google.com comp.lang.ada:9463 comp.lang.c++:45909 comp.realtime:1526 comp.software-eng:5110 Date: 2005-03-16T09:46:23+01:00 List-Id: kevin cline wrote: > > Martin Krischik wrote: >> kevin cline wrote: >> >> > >> > Martin Krischik wrote: >> > >> >> Shure it is true: The C++ ISO standard has ruffly 200 pages more > then >> > the >> >> Ada ISO standard. The C standard is a few pages shorter - but C >> > hasn't got >> >> object orientation, concurency, real time and distributed system >> > included. >> > >> > No surprise there. The C++ standard covers the C++ standard > library. >> >> As Ada has an Ada standart library and indeed C has an C standard > library >> which are all part of the ISO standarts in question. > True, but the C++ standard library is much more extensive than the Ada > standard library. There's nothing in the Ada standard that compares > with the C++ standard template library. Well it's Ada 95 and C++ 98 - the Ada standart is a 3 years older - Wait for Ada 2005 for a standart template library. One of the problems when comparing languages is that ISO standards a issued every 10 years - so you always compare an older standard with a newer one. In C/C++ this gives another interesting twist: C++98 does not understand the new C99 features - as does C++2003 as it is only the mid-term bug fix. Besides Ada standart library has features which C++ hasn't got. i.E. 3 string libraries (2 of which won't need heap memory) and 5 I/O Libraries (http://en.wikibooks.org/wiki/Programming:Ada:InputOutput). Ada is more "right tool for the task" then "one tool for all tasks." - Both approches have advantages and disadvantages and I guess we all know them. Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com