comp.lang.ada
 help / color / mirror / Atom feed
From: nabbasi@pacbell.net
Subject: Re: GNAT & GCC performace (bad news)
Date: 1999/12/02
Date: 1999-12-02T00:00:00+00:00	[thread overview]
Message-ID: <826rts$2fd1@drn.newsguy.com> (raw)
In-Reply-To: B46CA6A1.2991%Harald.Schmidt@tomcat.de

In article <B46CA6A1.2991%Harald.Schmidt@tomcat.de>, Harald says...
 
>What I was expecting,
>because gnat isn't a compiler env. but a to-C(++) translator,
>the performance decrease about ten to twenty percent but
>not 50 percent.
>
 
Gnat is not a "to-c" translator. Gnat is a front end, it does the
lexical and semantic analysis of the ada source code, and generates
the same input to the backend that other gnu languages generate, which
the backend uses to emit assembler code. (I assume some sort on internal
tree data representation in some common format that all front end gnu
compiler generate).


               +----+
  gnat ------> |    |      common
  gcc  ------> |    | ---> backend -----> assembler
  g++  ------> |    |
  f77  ------> |    |
               +----+
        front   intermidate
        end     data rep.

   
Nasser





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

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