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=2.6 required=5.0 tests=BAYES_20,INVALID_DATE, MSGID_SHORT,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sdcsla.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!hao!hplabs!sdcrdcf!sdcsvax!sdcsla!west From: west@sdcsla.UUCP (Larry West) Newsgroups: net.lang.ada Subject: Re: ada vs C benchmarks Message-ID: <865@sdcsla.UUCP> Date: Mon, 27-May-85 04:08:01 EDT Article-I.D.: sdcsla.865 Posted: Mon May 27 04:08:01 1985 Date-Received: Thu, 30-May-85 00:28:50 EDT References: <175@anwar.UUCP> <781@mako.UUCP> Reply-To: west@sdcsla.UUCP (Larry West) Distribution: net.lang Organization: UC San Diego: Institute for Cognitive Science List-Id: In article <781@mako.UUCP> jans@mako.UUCP (Jan Steinman) writes: >In article <175@anwar.UUCP> jon@anwar.UUCP (John Sissler) writes: >> does anyone have either the data or ability to produce >>meaningful benchmarks evaluating ada vs C. > >To be fair, turn those checks off when benchmarking Ada against anything, >except "safe" dialects of Pascal, etc. When comparing a Porche to a Sherman >Tank, are you looking for the fastest and lightest, or the most bomb-proof! >The term "meaningful" as used above, will obviously be weighted by what you >will be measuring. And yet simple tests can be meaningful if one keeps such issues in mind. For example, if you were designing a screen editor, one might well want the best security possible (don't want to lose anyone's data)... until one discover that this comes at the cost of making even the simplest commands take seconds to complete. Or that the running code won't fit within an externally-imposed memory limit. In short, direct comparisons of single aspects like execution speed or code-size or "security" are not likely to be useful in choosing a language/system. But you may be able to establish that one language/system or another simply cannot meet one of your basic requirements, no matter how great its advantages in other aspects. -- Larry West Institute for Cognitive Science (USA+619-)452-6220 UC San Diego (mailcode C-015) [x6220] ARPA: La Jolla, CA 92093 U.S.A. UUCP: {ucbvax,sdcrdcf,decvax,ihnp4}!sdcsvax!sdcsla!west OR ulysses!sdcsla!west