comp.lang.ada
 help / color / mirror / Atom feed
From: Gary Scott <scottg@flash.net>
Subject: Re: comparing gnat/Ada95 and g77
Date: Thu, 14 Mar 2002 12:59:57 GMT
Date: 2002-03-14T12:59:57+00:00	[thread overview]
Message-ID: <3C909F9D.6D624B86@flash.net> (raw)
In-Reply-To: 3C908617.C96A6579@Physik.Uni-Magdeburg.DE

Hi,
Gerald Kasner wrote:
> 
> Reinert Korsnes schrieb:
> >
> > Hi,
> <snip>
> 
> It's the algorithm, not the language that matters.

Actually, the design of the language is quite significant it terms of
how easy it makes it to design a suitable optimizer.  FORTRAN 77 should
be very easy to optimize so long as you're not using integer pointers
and/or aliasing.  Fortran 95 is only slightly less "optimizable". 
C-based languages are somewhat harder to optimize typically because they
ENCOURAGE use of pointers and various aliasing tricks.  However, some of
the difference between Fortran compilers and other languages has
something to do with the fact that there are companies with 30+ years
experience tweaking their compiler (the FORTRAN 77 ones are largely
mature, not to say that all intrinsics are optimal, I keep seeing
horrible performance with simple things like circular shift).


> 
> -Gerald

-- 

Gary Scott
mailto:scottg@flash.net

mailto:webmaster@fortranlib.com
http://www.fortranlib.com

Support the GNU Fortran G95 Project:  http://g95.sourceforge.net



  reply	other threads:[~2002-03-14 12:59 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-14  9:47 comparing gnat/Ada95 and g77 Reinert Korsnes
2002-03-14 10:37 ` John McCabe
2002-03-14 11:00   ` Preben Randhol
2002-03-15 10:44   ` Reinert Korsnes
2002-03-15 12:14     ` John McCabe
2002-03-15 17:53       ` Georg Bauhaus
2002-03-16 14:00     ` Gautier
2002-03-14 10:58 ` Martin Dowie
2002-03-14 11:04   ` chris.danx
2002-03-14 11:07     ` Bobby D. Bryant
2002-03-14 11:41     ` David C. Hoos, Sr.
2002-03-14 11:06   ` Preben Randhol
2002-03-14 16:43     ` Jeffrey Carter
2002-03-14 11:14 ` Gerald Kasner
2002-03-14 12:59   ` Gary Scott [this message]
2002-03-14 13:17     ` Jean-Marc Bourguet
2002-03-15  0:52       ` Gary Scott
2002-03-14 16:19     ` Dan Andreatta
2002-03-15  9:35       ` Gerald Kasner
2002-03-14 17:31   ` Toshitaka Kumano
2002-03-14 16:40 ` Jeffrey Carter
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox