comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@telepath.com>
Subject: Gnat optimizes better than gcc C?
Date: 1999/12/17
Date: 1999-12-17T00:00:00+00:00	[thread overview]
Message-ID: <83djjr$qqo$1@nnrp1.deja.com> (raw)
In-Reply-To: 3859a321.0@news.pacifier.com

In article <3859a321.0@news.pacifier.com>,
  "DuckE" <nospam_steved@pacifier.com> wrote:
> Check out "The Big Online Book of Linux Ada Programming" at
> http://www.vaxxine.com/pegasoft/homes/kburtch.html


Hmm. Section 7.4 shows an example of an algorithm coded in Ada and C
where the optimizer can make the Ada code run twice as fast as the C. I
knew it was theoreticaly possible for this to happen, due to the extra
info Ada's types provide the compiler. However, I was under the
impression that Gnat/gcc wasn't able to take advantage of this
information. Is this right?

--
T.E.D.


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~1999-12-17  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-15  0:00 GNAT use psimdars
1999-12-16  0:00 ` DuckE
1999-12-17  0:00   ` Ted Dennison [this message]
1999-12-17  0:00     ` Gnat optimizes better than gcc C? Preben Randhol
1999-12-22  0:00     ` Florian Weimer
1999-12-17  0:00 ` GNAT use Preben Randhol
replies disabled

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