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,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,74b55538385b7366 X-Google-Attributes: gid103376,public From: "Vladimir Olensky" Subject: Re: Ada safety road Was: Which is right ... Date: 1999/06/13 Message-ID: <929265100.720.57@news.remarQ.com>#1/1 X-Deja-AN: 489034758 References: <928083159.436.79@news.remarQ.com> <928174549.336.98@news.remarQ.com> <7iuqkc$ln6$1@nnrp1.deja.com> <928529202.956.79@news.remarQ.com> <928569312.951.42@news.remarQ.com> <7jb1l9$694$1@nnrp1.deja.com> <928703068.617.98@news.remarQ.com> <375F6F0B.AD735B5B@praxis-cs.co.uk> <7jo1d2$kno$1@pegasus.csx.cam.ac.uk> <929128919.557.95@news.remarQ.com> <7jsdkf$v3p$1@nnrp1.deja.com> <929221844.567.59@news.remarQ.com> <7jvakl$nqi$1@nnrp1.deja.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: newsabuse@remarQ.com X-Trace: 929265100.720.57 K3TLTKYJOA5C9C7F8C qube-01.us-ca.remarq.com Organization: Posted via RemarQ Communities, Inc. NNTP-Posting-Date: Sun, 13 Jun 1999 09:11:40 GMT Newsgroups: comp.lang.ada Date: 1999-06-13T00:00:00+00:00 List-Id: Robert Dewar wrote in message <7jvakl$nqi$1@nnrp1.deja.com>... >In article <929221844.567.59@news.remarQ.com>, > "Vladimir Olensky" wrote: >> As a matter of fact I was talking "about such kind of >document " that I had >> in mind when I did not know about N359. >> I could not agree that writing reliable software is >> specialized area. >> Just contrary I think that this is universal area. >There is a big difference between high integrity software >(yes, most certainly safety critical is a little too >restrictive) and the general notion of reliable software. > >All software should be written in a reliable manner, and using >techniques that promote reliability. > >The danger of making the jump from high integrity to realiable >with such facility, is that the next thing you know, managers >decide that the kind of restrictions that are suggested in the >HRG document are appropriate for general purpose programming >if "realiability" is important. Since reliability is ALWAYS >important this will mean that we get more of the disease of >arbitrarily forbidding critical Ada constructs under the >illusion that it helps! >I have more than once run into situations where people write >a chunk of a program in C because some nitwit manager has >forbidden the use of (e.g.) unchecked conversion completely. There are managers and managers. We have here one saying that tells that "manager_position + manager_knowledge=CONSTANT" that just confirms what you said above. Of course it is not an universal law but it has some connection to reality. And of course it is easily explained. > >Remember that the HRG has a very restrictive mandate. As it's >name implies it is in the specific business of looking at issues >related to Annex H, the Safety and Security annex of the >standard. It is not at all the case that the document at hand is >in any sense a general prescription for all Ada programming, and >if people read it with this (mis)understanding, then it is a >pity, because this very valuable (in context) document may end >up resulting in some significant negative effects. > I think that there should not be black and white approach. There should be just full understanding and feeling of all things that may cause problems. Clearly defined design goals also help to define appropriate approach to resolve them. Here one association comes up to my mind - combination of M3 opaque types and UNSAFE modules that help to avoid black and white approach. > >Validimir, it was you who said you thought the HRG document >could be more comprehensive -- what did you mean? >So there's the question Vladimir -- to make your position VERY >clear, explain your criticism of the HRG document, namely that >it is not comprehensive, by giving examples where you think it >is lacking. I was not criticizing N359 at all. Instead I stated that it is an excellent document. When I didn't new about it I was thinking that there is a need in document that covers all aspects of possible erroneous execution of Ada program (including some number of examples). Check my previous posts. So I was talking not about HRG document. I was talking what I had in mind. When I was given reference to N359 I found that it is up to almost all my expectation about such paper. One should not expect more from ISO official document. It is not a tutorial it is a guidance. Regards, Vladimir Olensky