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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,90c3c79963d78580 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-10 05:23:57 PST Path: newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!cyclone.swbell.net!nnrp1.sbc.net.POSTED!not-for-mail From: "Pat Rogers" Newsgroups: comp.lang.ada References: <9dc4sh$ru5$1@ulysses.noc.ntua.gr> <9dc6io$a2g2@news.cis.okstate.edu> Subject: Re: Numerical Computation and Ada95 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Thu, 10 May 2001 07:23:56 -0500 NNTP-Posting-Host: 208.191.184.67 X-Complaints-To: abuse@swbell.net X-Trace: nnrp1.sbc.net 989497436 208.191.184.67 (Thu, 10 May 2001 07:23:56 CDT) NNTP-Posting-Date: Thu, 10 May 2001 07:23:56 CDT Organization: SBC Internet Services Xref: newsfeed.google.com comp.lang.ada:7455 Date: 2001-05-10T07:23:56-05:00 List-Id: "David Starner" wrote in message news:9dc6io$a2g2@news.cis.okstate.edu... > On Wed, 9 May 2001 22:13:31 +0300, N&J wrote: > > I asked if Ada95 is better that Fortran90/95 and C++ for writing programs > > for numerical computation and the reply was that the Ada language > > specification requires extensive > > run-time checks which slows down the programs. > > There's always the question on whether you want fast programs or > correct programs. (-: Most Ada compilers offer switches to turn off > run-time checks, so there should be practically no difference > between the speed of Fortran, C++ and Ada. (In practice, Ada seems > to be slightly slower (10-20%) even with the checks turned off. This > will of course vary widely depending on your program and enviroment.) Which of the above two assertions do you believe? You've said "practically no difference" and "in practice, Ada seems to be slightly slower (10-20%)". Absent any justification, that is spreading FUD, IMHO. The trailing qualifier (that it varies widely) doesn't undo the damage. --- Patrick Rogers Consulting and Training in: http://www.classwide.com Real-Time/OO Languages progers@classwide.com Hard Deadline Schedulability Analysis (281)648-3165 Software Fault Tolerance