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 X-Google-Thread: 103376,e7e6e919cef50811 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-14 03:00:12 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!small.news.tele.dk!128.39.3.168!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: comparing gnat/Ada95 and g77 Date: Thu, 14 Mar 2002 11:00:11 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3c907c86.6094213@news.demon.co.uk> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: tyfon.itea.ntnu.no 1016103611 12094 129.241.83.82 (14 Mar 2002 11:00:11 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Thu, 14 Mar 2002 11:00:11 +0000 (UTC) User-Agent: slrn/0.9.7.3 (Linux) Xref: archiver1.google.com comp.lang.ada:21207 Date: 2002-03-14T11:00:11+00:00 List-Id: On Thu, 14 Mar 2002 10:37:59 GMT, John McCabe wrote: > On Thu, 14 Mar 2002 10:47:18 +0100, Reinert Korsnes > wrote: > >>Hi, >> >>Could anybody try these two programs (Ada and Fortran) >>and see if it is possible to make the Ada version (via compile >>options) to run as fast as the Fortran version under Linux, gnat >>and g77 ? > > What do you mean by "as fast as"? Do you have some figures already? > What are the differences? About 3 seconds, 20s (Ada) versus 17s (F77), with -O3 on both. Using -gnatp didn't speed things up much. But note that one should wait for GNAT 5.0 as the gcc backend is of different version (gnat uses gcc 2.8.1 while g77 uses 2.95.4). -- Preben Randhol �For me, Ada95 puts back the joy in programming.�