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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ed45459060d00f87 X-Google-Attributes: gid103376,public From: "Mike Silva" Subject: Re: US-MN-Mpls >>> Ada Software Engineers <<< Date: 1999/02/11 Message-ID: <79uv93$nh$1@its.hooked.net>#1/1 X-Deja-AN: 443254494 References: <79scn2$k04@drn.newsguy.com> <36C2036B.D2B4B148@pwfl.com> <36C24646.804BC44E@stny.lrun.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Whole Earth Networks News Newsgroups: comp.lang.ada Date: 1999-02-11T00:00:00+00:00 List-Id: Dino Gianisis wrote in message <36C24646.804BC44E@stny.lrun.com>... >>From the previous two posts it seems that Ada is used in commercial >aviation industry primarily. Why ? What features does it contain that >give it the edge over lets say C++?.... Being new to Ada myself I wouldn't normally have replied, but Tucker Taft posted some comments in another thread recently that I found very informative, so I'll pass them along. He said: It is correct to say that you can now write safe programs in C++. But C++ is not a safe language, in that many of the basic "building blocks" of the language are not safe. In fact, because the "defaults" were mostly inherited from C, the "default" building blocks are almost all unsafe. For example: By default in C++ (and C): arrays -- no bounds checking pointers -- not default initialized, no checking for null when dereferenced arithmetic -- no overflow checking cast -- no checking for inappropriate "narrowing" casts "class" parameters -- passed by copy; "chopped" off (run-time type identity lost) address-of ("&") operation -- no protection from dangling references In a "safe" language, the defaults (at least) are safe. There may be escape hatches for certain low-level programming situations. Ada's emphasis on safe programming methods, as well as its targeting of realtime embedded systems (though I should quickly point out that it is a very general purpose language), are the features that have prompted me to learn it. There are a number of Ada sources on the net -- http://www.adahome.com is a good place to start, and there you will find more Ada advocacy. Mike