comp.lang.ada
 help / color / mirror / Atom feed
From: Jean-Marc Bourguet <jm@bourguet.org>
Subject: Re: comparing gnat/Ada95 and g77
Date: 14 Mar 2002 14:17:01 +0100
Date: 2002-03-14T14:17:01+01:00	[thread overview]
Message-ID: <3c90a2cf$1@news.cadence.com> (raw)
In-Reply-To: 3C909F9D.6D624B86@flash.net

Gary Scott <scottg@flash.net> writes:

> 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.  

That's not the case of Ada.  It is perhaps worse than Fortran, but is
far better than C and C++ on this aspect.

> 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).

Another thing is that raw performance is an important factor in the
Fortran market. 

Yours,

-- 
Jean-Marc



  reply	other threads:[~2002-03-14 13:17 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
2002-03-14 13:17     ` Jean-Marc Bourguet [this message]
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