comp.lang.ada
 help / color / mirror / Atom feed
From: "Tim Behrendsen" <tim@airshields.com>
Subject: Re: Ada to C/C++ translator needed
Date: 1996/09/30
Date: 1996-09-30T00:00:00+00:00	[thread overview]
Message-ID: <01bbae8f$dffbd440$32ee6fcf@timhome2> (raw)
In-Reply-To: dewar.844055713@schonberg


Robert Dewar <dewar@schonberg.cs.nyu.edu> wrote in article
<dewar.844055713@schonberg>...
> Tim said
> 
> "Actually, id *does* release the C source code of Wolfenstein 3D,
> the first real first-person texture-mapped game.  It would be an
> amusing project to convert it to various languages and see what
> happens, e.g., how much time to compute a frame."
> 
> Even such an experiment would not say much. It is certainly possible,
> given any C program, to write an Ada program that generates identical
> code in a GCC environment (GNU C and GNAT share the same backend of 
> course), but that does not prove much. In practice, one would want to
> take advantage of the high level features of Ada not present in C,
> and you could get results varying all over the map depending on how
> you chose to program it.
> 
> What is certainly true is that you are no worse off in Ada than in C. At
> worst, you can program at a low level approximating C semantic level,
> and you will get code of identical efficiency to C, so moving to C for
> the sake of efficienfy alone makes no sense at all.

I know that Ada does run-time checks of array bounds that C
doesn't do; that could be one source of loss of performance.
Does Ada do any other run-time checks that C doesn't do?

-- Tim Behrendsen (tim@a-sis.com)




  reply	other threads:[~1996-09-30  0:00 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-25  0:00 Ada to C/C++ translator needed Emmanuel Champommier
1996-09-25  0:00 ` David Weller
1996-10-02  0:00   ` B|rje Norden
1996-10-04  0:00     ` David Weller
1996-10-05  0:00     ` Robert Dewar
1996-10-05  0:00       ` Frank Manning
1996-10-06  0:00         ` Samuel Tardieu
1996-10-07  0:00           ` Richard Kenner
1996-10-07  0:00             ` Robert Dewar
1996-10-08  0:00             ` Stephen Leake
1996-10-07  0:00         ` Robert Dewar
1996-10-08  0:00           ` Frank Manning
1996-10-07  0:00   ` Erik Magnuson
1996-09-26  0:00 ` Ian Ward
1996-10-02  0:00   ` Jon S Anthony
1996-10-02  0:00   ` Jon S Anthony
     [not found]   ` <52feul$os2@goanna.cs.rmit.edu.au>
1996-09-28  0:00     ` Tim Behrendsen
1996-09-29  0:00       ` Ken Pizzini
1996-09-29  0:00         ` Tim Behrendsen
1996-09-29  0:00           ` Robert Dewar
1996-09-30  0:00             ` Tim Behrendsen [this message]
1996-09-30  0:00               ` William Clodius
1996-09-30  0:00               ` Matthew Heaney
1996-09-30  0:00                 ` Tim Behrendsen
1996-10-01  0:00               ` Richard A. O'Keefe
1996-09-30  0:00           ` Richard A. O'Keefe
1996-09-30  0:00             ` Tim Behrendsen
1996-09-30  0:00       ` Richard A. O'Keefe
1996-09-30  0:00         ` Peter Seebach
1996-10-02  0:00           ` Richard A. O'Keefe
1996-10-05  0:00             ` Lawrence Kirby
1996-09-30  0:00         ` Tim Behrendsen
1996-09-30  0:00           ` Peter Seebach
1996-09-30  0:00             ` Tim Behrendsen
1996-10-01  0:00           ` Richard A. O'Keefe
1996-10-01  0:00             ` Tim Behrendsen
1996-10-02  0:00               ` Ian Ward
1996-10-02  0:00                 ` Tim Behrendsen
1996-10-06  0:00     ` Tanmoy Bhattacharya
1996-10-06  0:00       ` Lawrence Kirby
1996-10-08  0:00         ` Peter Seebach
1996-10-07  0:00     ` Tanmoy Bhattacharya
  -- strict thread matches above, loose matches on Subject: below --
1996-10-02  0:00 Simon Johnston
1996-10-07  0:00 ` Richard Riehle
1996-10-09  0:00   ` Richard A. O'Keefe
1996-10-15  0:00     ` Tucker Taft
replies disabled

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