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.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no 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 07:04:47 PST Path: newsfeed.google.com!newsfeed.stanford.edu!newsfeed.mesh.ad.jp!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <9dc4sh$ru5$1@ulysses.noc.ntua.gr> <3AF9E3BF.D6D73BEA@linuxchip.demon.co.uk> <9dd9tb$1o56$1@ulysses.noc.ntua.gr> Subject: Re: Numerical Computation and Ada95 Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Thu, 10 May 2001 10:04:09 EDT Organization: http://www.newsranger.com Date: Thu, 10 May 2001 14:04:09 GMT Xref: newsfeed.google.com comp.lang.ada:7469 Date: 2001-05-10T14:04:09+00:00 List-Id: In article <9dd9tb$1o56$1@ulysses.noc.ntua.gr>, N&J says... >>From what you said I undestand that nobody has ever compared Ada's timing >performance with Fortran77/90/95, C and C++ in programs that require lots of >arithmetic and logical operations (perhaps FFT). I think I will try to do it >when I learn Ada95 better Again, you *can't* make such a comparison. The best you can do is compare *implementations*, which have way more variables than just the source language. Suppose I took my super-optimizing RTOS Ada compiler, compared it to the (mythical) $50 HappySoft Win95 Fortran compiler for students, and discovered that Fortran was %50 *slower*. What exactly would I have proved? Only that HappySoft doesn't care about optimization as much as the authors of my Ada compiler. If you are wondering about *theory*, theoreticly Ada (with the checks turned off) ought to be exactly the same speed for arithmetic and logical operations as C, C++, and Fortran before optimization, and the same speed or *faster* than any of them after optimization, due to the extra info that can be fed to the optimizer. But theory won't get you far in the Real World. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com