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!news4.google.com!proxad.net!feeder1-2.proxad.net!nerim.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 13:20:20 +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> <1c421bda-5526-42e5-9a3f-96cb33bf86a0@k13g2000hse.googlegroups.com> 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 1216723909 27394 195.25.228.57 (22 Jul 2008 10:51:49 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Tue, 22 Jul 2008 10:51:49 +0000 (UTC) User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: <1c421bda-5526-42e5-9a3f-96cb33bf86a0@k13g2000hse.googlegroups.com> Xref: g2news1.google.com comp.lang.ada:1243 comp.lang.c:10352 Date: 2008-07-22T13:20:20+02:00 List-Id: Nick Keighley a �crit : > On 22 Jul, 09:39, Jean-Pierre Rosen wrote: >> Gautier a �crit : > > > >>> [this] 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... > > Pascal has a ++ operator? > No, I was refering to optimizing I := I+1 into a single "Inc" machine instruction. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr