From: "Björn Persson" <spam-away@nowhere.nil>
Subject: Re: Charles container library usage examples
Date: Tue, 13 Sep 2005 23:41:55 GMT
Date: 2005-09-13T23:41:55+00:00 [thread overview]
Message-ID: <7tJVe.33732$d5.188919@newsb.telia.net> (raw)
In-Reply-To: <m3slwb488d.fsf@rr.trudgett>
David Trudgett wrote:
> Georg Bauhaus <bauhaus@futureapps.de> writes:
>>This code isn't necessarily visible to the C compiler as checking
>>code, I 'd say, whereas checks implied by the Ada language are
>>visible to the compiler in this sense.
>
> I'm not sure what the point is here. What does being "visible" to the
> compiler mean in that sense? Is that more important than the simple
> fact of being present (because the Ada compiler ensures it is)?
The Ada compiler can omit checks if it can prove that they will never
fail. While even the C compiler can optimize away code that will never
have any effect, I would think it's a lot more difficult to prove that a
hand-coded run-time check is unnecessary when the compiler doesn't know
what it's for.
--
Bj�rn Persson PGP key A88682FD
omb jor ers @sv ge.
r o.b n.p son eri nu
next prev parent reply other threads:[~2005-09-13 23:41 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-03 2:38 Charles container library usage examples David Trudgett
2005-09-03 5:15 ` Matthew Heaney
2005-09-03 9:45 ` Simon Wright
2005-09-04 6:25 ` David Trudgett
2005-09-05 11:28 ` Georg Bauhaus
2005-09-04 0:26 ` David Trudgett
2005-09-04 9:49 ` Matthew Heaney
2005-09-06 3:01 ` David Trudgett
2005-09-06 16:22 ` Jeffrey Carter
2005-09-07 0:15 ` Matthew Heaney
2005-09-04 17:19 ` Ludovic Brenta
2005-09-06 3:01 ` David Trudgett
2005-09-06 5:08 ` Ludovic Brenta
2005-09-06 6:46 ` David Trudgett
2005-09-06 7:26 ` Ludovic Brenta
2005-09-24 0:05 ` Randy Brukardt
2005-09-09 14:57 ` James Alan Farrell
2005-09-10 7:38 ` David Trudgett
2005-09-10 14:55 ` Matthew Heaney
2005-09-10 15:26 ` Ludovic Brenta
2005-09-10 17:58 ` Matthew Heaney
2005-09-12 0:24 ` Robert A Duff
2005-09-11 10:52 ` Georg Bauhaus
2005-09-11 21:14 ` David Trudgett
2005-09-13 23:41 ` Björn Persson [this message]
2005-09-14 6:39 ` David Trudgett
2005-09-12 0:21 ` Robert A Duff
2005-09-12 0:57 ` David Trudgett
2005-09-12 1:01 ` Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox