comp.lang.ada
 help / color / mirror / Atom feed
From: pontius@btv.ibm.com (Dale Pontius)
Subject: Re: Will (abstract) Ada code improve over time ?
Date: 3 Aug 2001 17:38:26 GMT
Date: 2001-08-03T17:38:26+00:00	[thread overview]
Message-ID: <9kenii$ivo$1@news.btv.ibm.com> (raw)
In-Reply-To: slrn9latb9.46.lutz@taranis.iks-jena.de

In article <slrn9latb9.46.lutz@taranis.iks-jena.de>,
        lutz@iks-jena.de (Lutz Donnerhacke) writes:
> * Reinert Korsnes wrote:
>>Since Ada code is (supposed to be) on a higher abstraction level than for
>>example C, does this mean that we can expect new compilers and hardware
>>over time (10 years ?) will make a program made in Ada more
>>efficient/faster than a similar C program ?
>
> Assuming the same optimizer complexity, it might be true, because Ada
> provides more and more precise information to the compiler than C.
>
The real issue here is about WHO is trying to make better optimizers?
At present, most real-world compilers are C/C++, which don't furnish
the extra information Ada does. Therefore most optimization work likely
doesn't even concern itself with language hints to the optimizer.

In other words, if work is being done to make Ada optimize better than
C, it would probably become apparent here in c.l.a.

One possible alternative scenario is if C++ is able to give hints to
the optimizer. But in that case, I suspect that using those hints would
be more a matter of either ignoring the noise, (not using the hings) or
trying to pick the usable signal out of the noise.

Dale Pontius



  parent reply	other threads:[~2001-08-03 17:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-18 11:34 Will (abstract) Ada code improve over time ? Reinert Korsnes
2001-07-18 11:42 ` Lutz Donnerhacke
2001-07-19 17:29   ` Tomasz Wegrzanowski
2001-07-20  8:15     ` Lutz Donnerhacke
2001-08-03 17:38   ` Dale Pontius [this message]
2001-08-03 21:32     ` Florian Weimer
2001-07-18 13:33 ` Preben Randhol
2001-07-19 17:31   ` Tomasz Wegrzanowski
2001-07-19 17:46     ` Ed Falis
2001-07-20  7:35   ` Reinert Korsnes
2001-07-20  8:46     ` Jacob Sparre Andersen
2001-07-26  0:52       ` Corey Ashford
2001-07-29  4:34         ` Tomasz Wegrzanowski
2001-07-29  5:47           ` AG
2001-07-29  5:56           ` tmoran
2001-07-29  8:20           ` Pascal Obry
2001-07-29 12:39           ` Larry Kilgallen
2001-07-29 14:08           ` Florian Weimer
replies disabled

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