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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!fx02.iad.POSTED!not-for-mail From: Brad Moore User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada's ranking of popularity at IEEE Spectrum References: <72b1318a-2eb6-4129-af9b-5bcfbb329c5b@googlegroups.com> <3889b2f4-b7c4-4fb0-9f37-6fc56400b1d7@googlegroups.com> In-Reply-To: <3889b2f4-b7c4-4fb0-9f37-6fc56400b1d7@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 68.145.219.148 X-Complaints-To: internet.abuse@sjrb.ca X-Trace: 1404684914 68.145.219.148 (Sun, 06 Jul 2014 22:15:14 UTC) NNTP-Posting-Date: Sun, 06 Jul 2014 22:15:14 UTC Date: Sun, 06 Jul 2014 16:15:14 -0600 X-Received-Bytes: 5091 X-Received-Body-CRC: 2232193472 Xref: news.eternal-september.org comp.lang.ada:20754 Date: 2014-07-06T16:15:14-06:00 List-Id: On 2014-07-06 11:18 AM, Dan'l Miller wrote: > On Sunday, July 6, 2014 11:25:04 AM UTC-5, gautier...@hotmail.com wrote: >>> For example, would a first-order-logic library attract Prolog programmers? >> You want to attract a few programmers of language #29 in the hope of improving the rank of language #36 ? > > As a matter of fact: yes. Ada will not get more popular by blind copying of C++. Why? Because C++ got more popular throughout the late-1980s and throughout the 1990s by copying many of Ada's wisdoms. C++ & Ada are quite similar on C++'s bullet-point feature-list basis that is touted to woo potential C++ programmers to C++. Left unstated by the C++ wooing is that C++'s & Ada's primary differentiators are: > 1) that C++ has so many undefined behaviors; and > 2) C++ discovered that templates are Turing complete and have a quite-syntactically-uncouth poor-man's functional-programming language by accident. > And those are not anything that Ada wants at all. Indeed, these are C++'s achilles heals to attack by Ada doing something well that encourages C++ to do a bad job mimicking via > 3) more & more undefined behaviors exposing the C++ programmer to more & more of a house of cards; and > 4) more & more complexity in C++'s functional-programming via templates. > > What will make Ada more popular is for people to get from Ada what they cannot get easily or at all from other languages. The goal of the Ada community must always be to figure out what that new special sauce is to sell more McAda burgers, preferably a special sauce for Ada that is impossible or impractical in other languages, such as too easily stepping into C++ undefined-behavior cow-pies all over the C++ pasture or requiring an excessive amount of functional-programming via C++ templates. By constantly adding more special sauces for numerous niche markets, and perhaps one big special sauce for a breakthrough in Ada's core competencies (a brand new/drastically-expanded analogue of what Ada1983 did in the late-1970s & early-1980s for compile-time checking of likely bugs), eventually a greater preponderance of programmers will ask C++: "Where's the beef? Why can't C++ have what Ada has?" But the numerous special sauces for Ada's clams to fame must come first for C++ programme rs to have any envy at all---just like the envy that C++ had for the feature-set-superior Ada1983 during C++'s rise during the late-1980s and the 1990s. > > Likewise for identifying Java's achilles heal(s) and Ada one-upping Java in those areas of Java's weakness: Imagine a Qt 'cute' or WxWidgets designed from the ground up in Ada-think instead of C++isms to one-up Java-with-Swing, solving whatever problems are commonplace in Java-with-Swing (e.g., lack of native look-&-feel, lack of native multithreading, lack of machine-code instead of JVM bytecode, lack of Ada compile-time strictness & lifetime-proving). > > The path to Ada popularity: > More special sauces for more niche markets that cause wounds in other languages' Achilles' heals to fester. > I think another path to Ada popularity would be to raise awareness of the differences. There was a paper entitled "C++? A Critique of C++ and Programming Language Trends of the 1990s." by Ian Joyner written way back in 1996, available in numerous places on the web, including here: http://archive.adaic.com/intro/ada-vs-c/cppcv3.pdf The paper is written by someone who obviously has a strong knowledge of Eiffel and C++, but raised some good criticisms which I think mostly still would apply today. When I read it years ago, I remember thinking that Ada didn't have the problems cited for C++, and the main area where Eiffel had an advantage was in the area of contracts. Now that we have Ada 2012, I think that area is pretty well covered. I think it would be good if someone could write a similar paper today, with broader coverage of current programming languages, and in particular with better content for the Ada programming language. Maybe the original author, Ian Joyner could be convinced to do a 4th Edition? Brad