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,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!blackbush.cw.net!cw.net!feed.news.schlund.de!schlund.de!rz.uni-karlsruhe.de!news.belwue.de!irazu.switch.ch!switch.ch!news.grnet.gr!newsfd02.forthnet.gr!not-for-mail From: Ioannis Vranos Newsgroups: comp.lang.ada,comp.lang.c++,comp.realtime,comp.software-eng Subject: Re: [OT] Re: Teaching new tricks to an old dog (C++ -->Ada) Date: Sun, 06 Mar 2005 10:50:29 +0200 Organization: FORTHnet S.A., Atthidon 4, GR-17671 Kalithea, Greece, Tel: +30 2109559000, Fax: +30 2109559333, url: http://www.forthnet.gr Message-ID: <1110099035.843154@athnrd02> References: <4229bad9$0$1019$afc38c87@news.optusnet.com.au> <1110032222.447846.167060@g14g2000cwa.googlegroups.com> <871xau9nlh.fsf@insalien.org> <3SjWd.103128$Vf.3969241@news000.worldonline.dk> <87r7iu85lf.fsf@insalien.org> <1110052142.832650@athnrd02> <1800709.LegSC0zdoW@linux1.krischik.com> NNTP-Posting-Host: athnrd02.forthnet.gr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: athprx02.forthnet.gr 1110099036 26619 193.92.150.73 (6 Mar 2005 08:50:36 GMT) X-Complaints-To: abuse@forthnet.gr NNTP-Posting-Date: Sun, 6 Mar 2005 08:50:36 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en In-Reply-To: <1800709.LegSC0zdoW@linux1.krischik.com> Cache-Post-Path: newsfd02!unknown@ppp36-adsl-149.ath.forthnet.gr Xref: g2news1.google.com comp.lang.ada:8729 comp.lang.c++:44303 comp.realtime:1004 comp.software-eng:4535 Date: 2005-03-06T10:50:29+02:00 List-Id: Martin Krischik wrote: > But Ada is used for system programming language as well. Only it is not > painfull. Most C/C++ programmers think that a language suitable for system > programming must be painfull - but this is not true. > > Well, there is a drawback: you have to type more. But then: once you typed > it in it's easer to read - and most programms are read more then written. > > The real difference is that Ada puts emphasis on "save" while C++ puts > emphasis on "fast". C++ only becomes save by use of the STL. > > And with the speed of the computers today "save" is better. I remember well > the time when Blaster/32 infected my computer faster then I could download > the fix (download the fix with Linux in the end - but that's another > story). > > That is indeed true. But the differences are not system vs application - > both languages draw even here. Its save vs. fast, readabiltiy vs. > writeablity and explicid vs implicid. > > Of corse, having stessed the save vs. fast point: Most Ada compiler allow > you to switch off the savety net with a compiler option. > > Ada supports the same 4 paradigms and concurrent programming on top. > > True. But C/C++ havn't got a monopoly/patent on that feature. > > Actualy Ada has templates since it's 1983 release. I don't think C++ had > templates at the time. > > True Ada is easy - but not restricted. You think one excludes the other - > but that isn't true. > > Ada can do more low level stuff then C++ - or have you ever seen 24 bit > integer types in C++. > > As I said, here you as mistaken. While Ada is indeed well suited for high > level application development is is mostly used for low level embedded > programming. Usualy in planes, railways, spacecraft and weapons. > > I usualy read - at least - the wiki article before I say anything about a > programming language: > > http://en.wikipedia.org/wiki/Ada_programming_language Certainly after the thread discussion, ADA has ascended a lot in my interest scale (I always try to be reasonable). In that Wiki link I saw it is covering a subset of the procedural paradigm and recently also got support for OO. Also it supports generics. The one remaining, does it support namespaces? :-) What subset of the procedural paradigm it does not support? Also I saw that under severe constraints the run-time safety of the language is better to be switched off. I do not know much on the language, but can one define general-purpose containers with Ada's generics that do range checking and throw an exception when there is an attempt to access outside the boundaries of the container, even if the aforementioned run-time safety is switched off? -- Ioannis Vranos http://www23.brinkster.com/noicys