From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1e67a7db835cf5a8 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Binary files vs Portablity vs Ada Date: 1999/11/09 Message-ID: <8086e3$4rf$1@nnrp1.deja.com>#1/1 X-Deja-AN: 546165088 References: <7vt67r$qv0$1@coward.ks.cc.utah.edu> <7vurt3$ojd$1@nnrp1.deja.com> <7vuto0$pv0$1@nnrp1.deja.com> <7vvrin$gp9$1@nnrp1.deja.com> <8074m8$bk8$1@nnrp1.deja.com> <3827555C.D8E87932@averstar.com> X-Http-Proxy: 1.0 x25.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Nov 09 04:03:16 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-11-09T00:00:00+00:00 List-Id: In article <3827555C.D8E87932@averstar.com>, Tucker Taft 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.