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!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.freenet.de!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!transit.news.xs4all.nl!195.241.76.212.MISMATCH!tiscali!transit1.news.tiscali.nl!dreader2.news.tiscali.nl!not-for-mail Newsgroups: comp.lang.ada,comp.lang.c++,comp.realtime,comp.software-eng Subject: Re: Teaching new tricks to an old dog (C++ -->Ada) References: <4229bad9$0$1019$afc38c87@news.optusnet.com.au> <1110053977.478846@athnrd02> From: Ludovic Brenta Date: Sat, 05 Mar 2005 21:28:03 +0100 Message-ID: <87650596ss.fsf@insalien.org> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:fUfLUSsFv6bE9uRt36Vmy3iRseo= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Tiscali bv NNTP-Posting-Date: 05 Mar 2005 21:27:38 CET NNTP-Posting-Host: 83.134.241.69 X-Trace: 1110054458 dreader2.news.tiscali.nl 44096 83.134.241.69:34364 X-Complaints-To: abuse@tiscali.nl Xref: g2news1.google.com comp.lang.ada:8673 comp.lang.c++:44211 comp.realtime:957 comp.software-eng:4488 Date: 2005-03-05T21:27:38+01:00 List-Id: Ioannis Vranos writes: > Mark Lorenzen wrote: > >> You can do everything in Ada that you can in C and C++. > > > I suppose you mean in the application-programming domain. But I do > not think this is true in the systems programming domain, that is > efficiency under *severe* run-time and space constraints. Then why is it that almost all spacecraft, satellites, airplanes, trains, nuclear power stations, submarines are programmed in Ada? Is that not real-time enough for you? Remember the Mars rover? Ada. The Cassini-Huygens mission? Ada. Europe's air traffic control network? Ada. The US air traffic control network? Ada. I myself am involved in writing system-level avionics software. There is no operating system. We do address and data manipulations at the bit level. We write to processor registers. There are hard real-time constraints, as well as safety constraints. We write all of this in Ada, with a few machine code insertions ("inline assembler") in a couple places. I have a feeling that you just don't know what you are talking about. > Also I am not sure if ADA is suitable for library writing, or you > will have to switch to another language to do that. I will repeat what Mark Lorenzen just said above: You can do everything in Ada that you can in C and C++. > I do not say this is bad, since the design ideals of ADA are different > from C++. In effect, we are comparing different things here. Yes, we are comparing a hacker's language with an engineer's language. -- Ludovic Brenta.