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/08
Date: 1999-12-08T00:00:00+00:00	[thread overview]
Message-ID: <82kumr$jrd$1@nnrp1.deja.com> (raw)
In-Reply-To: 384D4A80.DBAA4E67@averstar.com

In article <384D4A80.DBAA4E67@averstar.com>,
  Tucker Taft <stt@averstar.com> wrote:

> With our current translation approach, our belief is that
> we would not do any better by connecting into the C back end
> directly, bypassing the C front end.

I definitely agree with this. The problems I mentioned are all
ones that are fundamental to a C back end, and it seems
perfectly appropriate to attach to the front end by generating
C. Either the front end does no optimization, in which case
it's a wash, or it optimizes, in which case you are ahead.

People often assume that gcc is a C back end, but actually at
this stage it is a multi-language back end. When we first
wrote GNAT, gcc did not know any Ada at all, and we could have
linked to the existing gcc backend by doing the same kind of
Ada-to-C mapping as is done by the Intermetrics front end
(although at least we had efficient nested procedures, because
GNU C has nested functions).

But we decided this would lose too much efficiency for some
constructions, and we modified the back end of GCC to accomodate
Ada more closely. See the paper "Teaching GCC Ada" [or somesuch
title] in a recent Tri-Ada conference (sorry, do not have exact
reference).


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




  reply	other threads:[~1999-12-08  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 ` Dmitriy Anisimkov
1999-12-02  0:00 ` nabbasi
1999-12-02  0:00 ` David Starner
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 ` Tucker Taft
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 [this message]
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
1999-12-03  0:00   ` Geoff Bull
1999-12-03  0:00 ` Mats Weber
1999-12-03  0:00 ` Robert Dewar
replies disabled

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