comp.lang.ada
 help / color / mirror / Atom feed
From: Ada2001 <ada2001@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: <82lpur$6m8$1@nnrp1.deja.com> (raw)
In-Reply-To: 82kumr$jrd$1@nnrp1.deja.com

In article <82kumr$jrd$1@nnrp1.deja.com>,
  Robert Dewar <robert_dewar@my-deja.com> wrote:
>
> 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).
>

Can you give us an overview of how JGNAT differs from regular GNAT with
respect to dependence on gcc? I have the impression, quite possibly
wrong, that all of JGNAT including the bytecode generator is written in
Ada and that it doesn't depend on gcc.  Is that correct?

F. Britt Snodgrass


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 ` 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 ` nabbasi
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
1999-12-08  0:00                 ` Ada2001 [this message]
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