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,8de7eedad50552f1 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!newspeer.monmouth.com!newsfeed.icl.net!newsfeed.fjserv.net!news-lond.gip.net!news.gsl.net!gip.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed-0.progon.net!progon.net!stargate.gts.cz!news.freedom2surf.net!nntp-peering.plus.net!ptn-nntp-feeder01.plus.net!ptn-nntp-spool03.plus.net!212.159.2.75.MISMATCH!ptn-nntp-spool01.plus.net!ptn-nntp-reader03.plus.net!not-for-mail User-Agent: Microsoft-Entourage/10.1.6.040913.0 Date: Mon, 21 Mar 2005 02:24:16 +0000 Subject: Re: Ada bench From: "(see below)" Newsgroups: comp.lang.ada Message-ID: References: <87vf7n5njs.fsf@code-hal.de> <87u0n6mzas.fsf@code-hal.de> <2huslr9uto15$.nbw7z2uaceua.dlg@40tude.net> Mime-version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Organization: Customer of PlusNet plc (http://www.plus.net) NNTP-Posting-Host: cd02f668.ptn-nntp-reader03.plus.net X-Trace: DXC=B43K?j`NS`oKhQoJ[iOQ^`igd3Y`7Rb;n@`8gV4CC7IgJR\J_W^Q2dmOnSV\5S;I=hFE>R5bK459mfJ9 Following up on these "benchmarks" is probably worthwhile, simply from the point of view of greater visibility. Since Brian Wichmann, one of the designers of Ada, popularized the use of Ackermann's function as a recursion benchmark (not to mention the use of the Whetstone numerics benchmark), it is unseemly that it should be in such a sad state at the Shootout. In that spirit I therefore looked at ackermann. At a first cut, on my machine, the C program takes about 8.9s. (This seems very slow by comparison with the Shootout's hardware!) The Ada program at Shootout takes about 14.0 s. Ditto, but with Ack moved out as a library unit, takes about 8.9s, essentially the same as C. -- Bill