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: 115aec,703c4f68db81387d X-Google-Attributes: gid103376,gid115aec,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!newsread3.news.atl.earthlink.net.POSTED!d9c68f36!not-for-mail From: Marin David Condic User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada,comp.realtime Subject: Re: 10 rules for benchmarking (was Re: Teaching new tricks to an old dog (C++ -->Ada)) References: <4229bad9$0$1019$afc38c87@news.optusnet.com.au> <1110284070.410136.205090@o13g2000cwo.googlegroups.com> <395uqaF5rhu2mU1@individual.net> <112rs0bdr2aftdf@corp.supernews.com> <1inxxr988rxgg$.1w9dedak41k89.dlg@40tude.net> <112s1r0rf0o8nca@corp.supernews.com> <112sonip5v4dca6@corp.supernews.com> <112t3de6fu04f38@corp.supernews.com> <1110396477.596174.285520@o13g2000cwo.googlegroups.com> <112vb2t8eonuhed@corp.supernews.com> <1110422108.925127.54110@o13g2000cwo.googlegroups.com> <11329cb96h2p19f@corp.supernews.com> <113394jjvppao64@corp.supernews.com> <1133s3qnmqmbjfb@corp.supernews.com> <4232a9f7$0$26552$9b4e6d93@newsread4.arcor-online.net> <11369p5jrcc6835@corp.supernews.com> <1137falp86qhk89@corp.supernews.com> <42341634$0$1115$9b4e6d93@newsread2.arcor-online.net> In-Reply-To: <42341634$0$1115$9b4e6d93@newsread2.arcor-online.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Sun, 13 Mar 2005 13:47:32 GMT NNTP-Posting-Host: 209.165.11.129 X-Complaints-To: abuse@earthlink.net X-Trace: newsread3.news.atl.earthlink.net 1110721652 209.165.11.129 (Sun, 13 Mar 2005 05:47:32 PST) NNTP-Posting-Date: Sun, 13 Mar 2005 05:47:32 PST Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: g2news1.google.com comp.lang.ada:9311 comp.realtime:1418 Date: 2005-03-13T13:47:32+00:00 List-Id: Here is an amazing thing to me: We keep getting sucked up into the "C is faster than Ada" troll. We all know Ada is capable of being just as fast as C (and occasionally faster, because the additional semantic content allows for more optimizations), so we get offended by the claim. I think it is important to note that in an incredibly large percentage of the apps that ever get written, whatever differences might exist (hypothetically, Ada being 2x slower than C - or vice versa) it will NEVER make any difference. In the incredibly small percentage of apps where it actually matters, everybody tends to use highly optimizing compilers custom targeted to the machines of interest and the comparison is really more on the quality of the compiler back ends and not so much on the syntax/semantics of the source langauge. (Many realtime, embedded compilers process multiple source languages and get similar runtime performance - as one might expect.) Could we PLEASE put this one to rest? Ada can be just as fast - if not occasionally faster - than C or any other language used where speed is an issue. It has been demonstrated numerous times. Period. Full stop. Let's NOT bring it up again PLEASE. And perhaps before we get another C programmer with a bad case of techno-lust for high speed computing raising the issue again, we ought to insist they define the application domain of interest FIRST before they state "I can't use Ada because its slower than C..." If its a workstation/GUI kind of app, it probably doesn't matter. If it has a duty cycle in the 1 millisecond range - come talk to me. (I regularly use Ada in such apps and y'all probably have flown around safely in the sky trusting that Ada is fast enough to meet that demand.) MDC Georg Bauhaus wrote: > > > Done. Performance: either a 10%--50% slowdown, or exactly the > same speed. > -- ====================================================================== Marin David Condic I work for: http://www.belcan.com/ My project is: http://www.jsf.mil/NSFrames.htm Send Replies To: m o d c @ a m o g c n i c . r "'Shut up,' he explained." -- Ring Lardner ======================================================================