Re: Ada vs. C performance, was Possible to write compiler to Java VM?

Toon Moene <toon@moene.indiv.nluug.nl>
12 Jan 1997 11:53:57 -0500

          From comp.compilers

Related articles
Ada vs. C performance, was Possible to write compiler to Java VM? robison@kai.com (Arch Robison) (1997-01-07)
Re: Ada vs. C performance, was Possible to write compiler to Java VM? Laurent.Guerby@enst-bretagne.fr (Laurent Guerby) (1997-01-09)
Ada vs. C performance, was Possible to write compiler to Java VM? rgh@shellus.com (1997-01-09)
Re: Ada vs. C performance, was Possible to write compiler to Java VM? ronald.ten-hove@itron.com (Ron Ten-Hove) (1997-01-12)
Re: Ada vs. C performance, was Possible to write compiler to Java VM? toon@moene.indiv.nluug.nl (Toon Moene) (1997-01-12)
Re: Ada vs. C performance, was Possible to write compiler to Java VM? cdg@nullstone.com (Christopher Glaeser) (1997-01-14)
| List of all articles for this month |

From: Toon Moene <toon@moene.indiv.nluug.nl>
Newsgroups: comp.compilers
Date: 12 Jan 1997 11:53:57 -0500
Organization: Moene Computational Physics, Maartensdijk, The Netherlands
References: 97-01-045 97-01-063
Keywords: C, Ada, Fortran, performance

Arch Robison <robison@kai.com> writes:
>[C compilers probably generate better code than Ada compilers because
>vendors put more money into them.]


Laurent Guerby <Laurent.Guerby@enst-bretagne.fr> wrote:
> Of course the argument doesn't hold with GNAT since the backend is
>the same for Ada and C. I'm pretty sure that for every C program, you
>can write an Ada program (C-style) that will generate the same code. I
>don't know if in some case the reverse is false and if indeed GCC take
>advantage of more semantic information (write an Ada program with no C
>equivalent for performance).


Well, we faced the same problem with g77 - using a backend that's
supposed to generate code for a C front-end, you are up to some
surprises.


Even *users* start to bother us about the unnecessary alias
assumptions in the generated code ...


Hopefully, with the inclusion of John Carr's alias analysis for gcc,
this will be solved completely (We hope this will be with g77-0.5.20).


--
Toon Moene (mailto:toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: mailto:fortran@gnu.ai.mit.edu; NWP: http://www.knmi.nl/hirlam
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.