comp.lang.ada
 help / color / mirror / Atom feed
From: Colin Paul Gloster <Colin_Paul_Gloster@ACM.org>
Subject: Re: C/Ada performance comparison
Date: Thu, 05 Jul 2001 09:12:31 +0200
Date: 2001-07-05T09:12:31+02:00	[thread overview]
Message-ID: <3B44135F.90D9711A@ACM.org> (raw)
In-Reply-To: mailman.994268646.25756.comp.lang.ada@ada.eu.org

Samuel Tardieu <sam@rfc1149.net> wrote: "On  4/07, Colin Paul Gloster wrote:

| A factor of 7 implies that the programs are not equivalent. [..]

A typical example of that non-equivalence is a user not turning
off exception
checks. An Ada program with exceptions is not the equivalent of a
C program
without them."

I do not know of anyone who claimed that an Ada program with
exceptions is equivalent to a C program sans them. I did say that
an equivalent Ada83 program wherein the C and Ada83 versions
use dynamic memory can hog a lot more memory than the C
version. So far as we know, Tomas Hlavaty's Ada source has no
such thing as exception handling. An Ada and a C program can be
equivalent and that Ada(95, and 83) has better optional features which
would impact performance does not mean that an equivalent program
has to use similar resource levels to the C original. The factor of seven
may hint that exceptions are used but a hint is not a proof.




  reply	other threads:[~2001-07-05  7:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-29 14:19 C/Ada performance comparison Tomas Hlavaty
2001-07-03 16:20 ` Marin David Condic
2001-07-03 19:09 ` tmoran
2001-07-03 22:09 ` Jeffrey Carter
2001-07-04 17:27   ` Colin Paul Gloster
2001-07-04 17:43     ` Samuel Tardieu
2001-07-05  7:12       ` Colin Paul Gloster [this message]
2001-07-05 11:55         ` Larry Kilgallen
2001-07-05 21:46         ` Robert Dewar
2001-07-05 13:37   ` Marin David Condic
2001-07-05 14:49     ` Jean-Pierre Rosen
replies disabled

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