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,382fcf8feeefdd50 X-Google-Thread: 1014db,382fcf8feeefdd50 X-Google-Attributes: gid103376,gid1014db,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newspeer.monmouth.com!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada,comp.lang.c Subject: Re: computer language used to program Mars Lander Date: Tue, 22 Jul 2008 10:39:15 +0200 Organization: Adalog 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> <4880f2ed$1_6@news.bluewin.ch> NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1216713110 23613 195.25.228.57 (22 Jul 2008 07:51:50 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Tue, 22 Jul 2008 07:51:50 +0000 (UTC) User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: <4880f2ed$1_6@news.bluewin.ch> Xref: g2news1.google.com comp.lang.ada:1237 comp.lang.c:10325 X-Original-Bytes: 1978 Date: 2008-07-22T10:39:15+02:00 List-Id: Gautier a �crit : > Paul Hsieh: > >> The small memory footprint and VxWorks environment probably makes C a >> very attractive language for the NASA guys. If they used Ada, they >> would be slower, > > Oooh... This is a misconception that comes from the time of > non-optimizing compilers for PC's - around 20 years ago. At that time a > i++ was faster than a i:= i + 1, sure. But it was long long time ago. > Never heard of GCC ?... When I started working on a (Pascal) compiler, this optimization was the first one I introduced in the compiler, because it was the easiest one to do. And it was 30 years ago... -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr