comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Binary files vs Portablity vs Ada
Date: 1999/11/09
Date: 1999-11-09T00:00:00+00:00	[thread overview]
Message-ID: <8086e3$4rf$1@nnrp1.deja.com> (raw)
In-Reply-To: 3827555C.D8E87932@averstar.com

In article <3827555C.D8E87932@averstar.com>,
  Tucker Taft <stt@averstar.com> wrote:
> It is always a bit frustrating to follow discussions like this
> where people keep arguing about how this or that is not
> "guaranteed" by the Ada RM, when other languages have far
> fewer guarantees to begin with, and no strictly-obeyed
> standard and validation suite available.

I very much agree. The real issue here is that if you want to
write portable code, you need to combine a lot of relevant
pragmatic knowledge with the material in the RM. The IA helps
provide that knowledge. Yes, I know people would like to reduce
portability to simple compliance with what is guaranteed in
the standard, but as Tuck says, you will be disappointed if
you try this approach. There is no substitute for intelligent
application of pragmatic knowledge when it comes to writing
portable code.

In the case of C, portable code typically contains many things
that are not guaranteed by the standard, e.g. that int has a
sensible range. What Ada does is to make this kind of thing
very explicit in the RM (in the form of implementation advice),
and then vendors are required to note if they do not follow this
advice, so you are on much more well defined ground than with
any other standardized language when it comes to writing
portable code.


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~1999-11-09  0:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-04  0:00 Binary files vs Portablity vs Ada John Halleck
1999-11-05  0:00 ` Larry Kilgallen
1999-11-05  0:00   ` John Halleck
1999-11-05  0:00 ` Robert Dewar
1999-11-05  0:00   ` Ted Dennison
1999-11-06  0:00     ` Robert Dewar
1999-11-08  0:00       ` Ted Dennison
1999-11-08  0:00         ` Tucker Taft
1999-11-09  0:00           ` Robert Dewar [this message]
1999-11-09  0:00         ` Robert Dewar
1999-11-09  0:00         ` Robert A Duff
1999-11-09  0:00           ` Advice, or *Advice*? (was: Binary files vs Portablity vs Ada) Ted Dennison
1999-11-10  0:00             ` Robert A Duff
1999-11-05  0:00 ` Binary files vs Portablity vs Ada Matthew Heaney
1999-11-08  0:00 ` Nick Roberts
1999-11-09  0:00   ` Ted Dennison
1999-11-09  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