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.1 required=5.0 tests=BAYES_00,REPLYTO_WITHOUT_TO_CC, STOX_REPLY_TYPE autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,382fcf8feeefdd50 X-Google-Thread: 1014db,382fcf8feeefdd50 X-Google-Attributes: gid103376,gid1014db,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!aioe.org!not-for-mail From: "Chris Thomasson" Newsgroups: comp.lang.ada,comp.lang.c Subject: Re: computer language used to program Mars Lander Date: Thu, 17 Jul 2008 17:03:58 -0700 Organization: vZOOM Consulting Services Message-ID: References: <185ee7f9-9d4f-4f49-8dbe-6b623b8a8223@c58g2000hsc.googlegroups.com> <887fc0a7-0a5a-4d2e-a9ea-eb9e32d6a818@m36g2000hse.googlegroups.com> <13a2f4f0-6ec1-4570-b6bf-1621cfb32db2@a2g2000prm.googlegroups.com> <6ea1d5F65269U1@mid.individual.net> Reply-To: "Chris Thomasson" NNTP-Posting-Host: JKzSATQib2/s6UBoTQwolA.user.aioe.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-Priority: 3 X-MSMail-Priority: Normal Xref: g2news2.google.com comp.lang.ada:6932 comp.lang.c:70097 Date: 2008-07-17T17:03:58-07:00 List-Id: "Default User" wrote in message news:6ea1d5F65269U1@mid.individual.net... > Chris Thomasson wrote: > >> "Paul Hsieh" wrote in message >> news:13a2f4f0-6ec1-4570-b6bf-1621cfb32db2@a2g2000prm.googlegroups.com. > >> > Indeed. Ada is used by the military, because they have much more >> > sophisticated hardware in tanks and fighter jets. >> >> Is this a trolling attempt? Anyway, the military uses C++ for all >> critical system software in state-of-the-art fighter-bombers because >> they have much more sophisticated hardware: > > We did quite a bit of code for avionics flight systems for military > aircraft in C++. It ran on top of an RTOS and there were certain > restrictions in the programming. Dynamic memory was only allocated at > startup, for instance. Sounds pretty smart to me. IMHO, its nice that C++ is flexible enough to work well under some fairly harsh, but necessary restrictions. Also, IMVHO, it does not really matter what programming language is used because in the end its all up to the programmer to "get it right". Even an ADA- based system could contain subtle logic bugs. That would be very bad if one of those nasty bugs revealed a code-path which could open the bomb bay doors, arm something and let it loose! :^o