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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e6d1607a5397de6b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-10-30 20:15:52 PST Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!cabal10.airnews.net!news.airnews.net!howland.erols.net!newsfeed.mindspring.net.MISMATCH!news.mindspring.net!firehose.mindspring.com!not-for-mail From: Lao Xiao Hai Newsgroups: comp.lang.ada Subject: Re: Is the Ada World Embarrassed by the Defense Industry? Date: Mon, 30 Oct 2000 20:10:05 -0800 Organization: MindSpring Enterprises Message-ID: <39FE461D.275F1363@ix.netcom.com> References: <39FDE9E4.35F615A6@netwood.net> NNTP-Posting-Host: 3f.35.af.e0 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Server-Date: 31 Oct 2000 04:15:20 GMT X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en Xref: supernews.google.com comp.lang.ada:1652 Date: 2000-10-31T04:15:20+00:00 List-Id: "E. Robert Tisdale" wrote: > Apparently, national defense, and the U.S. Navy in particular, > has finally turned toward Commercial Off-The-Shelf (COTS) > solutions after encouraging a commercial computer industry > for the past 50 years. An Ada RTE is COTS. > It is possible to implement reliable applications > in other programming languages through diligence, > discipline and exhaustive testing. It just costs more. > One can only assume that the commercial developer > weighed these costs against all of the other costs > relevant to application program development when > they decided which programming language(s) to use. Indeed!!!!!!?????? Most organizations that I see choosing C++ over Ada have done very little in the way of careful study. Certainly no U.S. military organization has thought this through very carefully. It is, in fact, quite scary. An organization that could not manage a single-language policy is under the illusion that it can manage a multiple- language policy. > .The problem for the military > is to test and evaluate all of these applications > and select the best value. And which ISO standard validated C++ compiler will they select. OOOOOPS! There aren't any. > If application program source codes are transferred > to the military, they must find and/or train programmers > to modify and maintain that source code. > It is easier to find and train C and C++ programmers > than it is to find and train Ada programmers today > so there is a strong incentive to prefer C or C++ over Ada. It is easier to find programmers who claim to know C++ than programmers who claim to know Ada. Their skill level varies all over the place and most of them should not be allowed anywhere within ten miles of the source code. As for training. I teach C++ and I teach Ada. Ada is easier to teach than C++. Properly taught, Ada is easier for the students to learn. > A lot can be done to incorporate safety and reliability > into C and C++ compilers and class libraries > but these languages are inherently unsafe > and there is very little that can be done about it > without changing the languages themselves. C++ is the peanut brittle of programming languages. It gets stuck in your teeth, breaks easily, and cause serious rotting. Someone once said, "C is its own virus." This same comment extends to C++. Richard Riehle