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=0.1 required=5.0 tests=BAYES_05,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,1042f393323e22da X-Google-Attributes: gid109fba,public X-Google-Thread: 1014db,1042f393323e22da X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,1042f393323e22da X-Google-Attributes: gid103376,public From: kaz@vision.crest.nt.com (Kaz Kylheku) Subject: Re: Any research putting c above ada? Date: 1997/04/14 Message-ID: <5itlph$1k9@bcrkh13.bnr.ca>#1/1 X-Deja-AN: 234784385 References: <5ih6i9$oct$1@waldorf.csc.calpoly.edu> <33508283.56DD@aonix.com> <3373409f.494266577@news.pacificnet.net> <5is19p$g3i@flood.weeg.uiowa.edu> Organization: Prism Systems Inc. Newsgroups: comp.lang.c++,comp.lang.c,comp.lang.ada Date: 1997-04-14T00:00:00+00:00 List-Id: In article <5is19p$g3i@flood.weeg.uiowa.edu>, Robert S. White wrote: >In article <3373409f.494266577@news.pacificnet.net>, Kevin@Quitt.net says... >>But any language that does >>not allow me to override the safety features is not useful. Any system > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>that does not let the programmer take responsibility for bypassing the >>safes is *wrong*. > > But every Ada compiler that I have used DOES let us deliberately >turn off the run time checks! So what is your point here? We leave So every C compiler I have used lets me ignore compiler time diagnostics that don't lead to translation failure. I think Kevin was talking about static safety features, though, and language features that let you override these features (rather than compiler options). >the checks on during unit level tests and early integration tests. Such tests often don't have full coverage. A good language would force the run-time checks to remain in the production code. Or are you saying that safety should take a back seat to speed when it comes time to ship the code? Maybe Ada programmers are not that different from other programmers after all. >Then the project librarian/project engineer can choose to turn checks >off on the high rate realtime tasks if the through-put benefits are >required. Ah I see. ``The code is too slow! Checking be damned''. :)