comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: GNAT & GCC performace (bad news)
Date: 1999/12/07
Date: 1999-12-07T00:00:00+00:00	[thread overview]
Message-ID: <82hm1c$9a8$1@nnrp1.deja.com> (raw)
In-Reply-To: 1999Dec6.073729.1@eisner

In article <1999Dec6.073729.1@eisner>,
  Kilgallen@eisner.decus.org.nospam wrote:
> On a theoretical basis, it is possible to do anything in
> machine language one can do in a higher level language.
> However I believe that optimizing for various versions of
> a particular chip is higher priority for the folks pushing
> that chip than they are for the folks trying to provide a
> multi-platform compiler (regardless of whether it emits
> assembly language or C code).


Nevertheless there are fundamental problems in going through C.
For example, one cannot expect a wonderful optimizing C compiler
to do much in Ada critical areas like overflow detection and
exception handling etc.

The point though is that compilers, which generate assembler
or machine language, are very different beasts from translators
which translate from one high level language to another. In
practice there is almost always a loss from the translator
approach, often significant.

You quote theory, but I am talking from 30 years of experience
in compilers, I have NEVER seen a case where language to
language translation did not lose efficiency compared to direct
compilation.

Feel free to quote a counter example, but theorizing is not
convincing!


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




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

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-02  0:00 GNAT & GCC performace (bad news) Harald Schmidt
1999-12-02  0:00 ` James E. Hopper
1999-12-03  0:00   ` Robert A Duff
1999-12-04  0:00   ` Robert Dewar
1999-12-04  0:00     ` Harald Schmidt
1999-12-02  0:00 ` David Starner
1999-12-02  0:00 ` nabbasi
1999-12-02  0:00 ` Tucker Taft
1999-12-02  0:00 ` Dmitriy Anisimkov
1999-12-03  0:00 ` Robert Dewar
1999-12-03  0:00 ` Geoff Bull
1999-12-03  0:00   ` Geoff Bull
1999-12-03  0:00   ` Larry Kilgallen
1999-12-06  0:00     ` Robert Dewar
1999-12-06  0:00       ` Larry Kilgallen
1999-12-06  0:00         ` Robert A Duff
1999-12-07  0:00           ` Robert Dewar
1999-12-07  0:00             ` Tucker Taft
1999-12-08  0:00               ` Robert Dewar
1999-12-08  0:00                 ` Ada2001
1999-12-09  0:00             ` Wes Groleau
1999-12-10  0:00               ` Robert Dewar
1999-12-10  0:00                 ` Arthur Evans Jr
1999-12-11  0:00                   ` Robert Dewar
1999-12-17  0:00               ` Richard Kenner
1999-12-07  0:00         ` Robert Dewar [this message]
1999-12-03  0:00 ` Mats Weber
replies disabled

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