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-Thread: 103376,c406e0c4a6eb74ed X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!newsfeed.stueberl.de!feed.news.tiscali.de!newsfeed1.ip.tiscali.net!tiscali!transit1.news.tiscali.nl!dreader2.news.tiscali.nl!not-for-mail Newsgroups: comp.lang.ada Subject: Re: ADA Popularity Discussion Request References: <49dc98cf.0408110556.18ae7df@posting.google.com> From: Ludovic Brenta Date: Tue, 17 Aug 2004 00:24:24 +0200 Message-ID: <87smamsovb.fsf@insalien.org> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:G1xMzayCqnGsTUU77Fsw7ca4SvI= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Tiscali bv NNTP-Posting-Date: 17 Aug 2004 00:24:56 CEST NNTP-Posting-Host: 83.134.238.229 X-Trace: 1092695096 dreader2.news.tiscali.nl 62392 83.134.238.229:35131 X-Complaints-To: abuse@tiscali.nl Xref: g2news1.google.com comp.lang.ada:2758 Date: 2004-08-17T00:24:56+02:00 List-Id: (Keith H Duggar) writes: > "Ada was an experiment that failed. It was specified in such a way > that it's hard to get adequate performance. So a critical mass of > users and vendors never materialized. Now we see people devoting > more energy to making C/C++ safer for programming large systems." I wouldn't consider whoever said that a guru. A real guru keeps posted about new developments. > Can any of you help me understand the details behind what he stated? > Was it difficult to write compilers that gave good performance? Was > the language specification too complex or difficult to implement? Most of this has to deal with history. C was designed for ease of implementation; Ada was designed for safety, predictability, portability and maintainability. Of course, Ada compilers are more difficult to write than C compilers. This is a Good Thing; it means that Ada compilers do more work for you than do C compilers. C++ compilers are quite hard to get right; but then again, so are C++ programs. In the early 1980's, the DoD mandated use of Ada for most new software development. Contractors used to provide expensive, proprietary, and slow compilers just because the DoD mandated it. In return, their compilers were Validated, i.e. certified to conform to the Ada 83 standard. There were a few vendors that did not actually believe in Ada and offered only "check-box compilers" - compilers barely good enough to check a box saying "yes, we support Ada" in a form, but lacking any real features or tools for serious development. But things have changed since then. The "check-box" vendors have all but disappeared; the remaining Ada vendors are all quite serious about Ada and software quality. The Ada language evolved into a powerful object-oriented language (Ada 95) without losing any of its inherent safety, and a new standard (Ada 2005) is in the works for even more improvements. There are several good, inexpensive Ada compilers to choose from. One such compiler is even free, both in the sense of freedom and free beer. > Or are there simply missing features that preclude some efficient > coding idioms (does Ada have pointers?). I'm very ignorant when it > comes to Ada so please forgive these newbie questions. Yes, Ada does have pointers. They're called "access types" in Ada. In Ada 95, "access to subprograms" were added among other things. The "guru" you mentioned ought to know that. The only feature that I think Ada lacks is functional programming; apart from that, it has everything C++ has, and more (don't talk to me about multiple inheritance before you've read Tucker Taft's paper on the subject). I think that Ada is still entrenched, and thrives in safety-critical environments, but these environments are traditionally neither Free Software nor commercial-off-the-shelf. As a result, the millions of lines of Ada programs out there that fly aircraft, run trains, or control nuclear power stations remain largely unknown to the general public. I think that Ada deserves more exposure by means of more Free Software and more COTS software. There *are* quite a few available free software packages out there, but not nearly as many as in other languages. Quality compensates for that, IMHO, but there is still the nagging impression that Ada is being ignored by the masses. I appreciate that you took the time to ask questions here rather than just take some uninformed bloke's word for it. I have found that the people interested in Ada tend to be independent thinkers. A scarcity nowadays. -- Ludovic Brenta.