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=3.8 required=5.0 tests=BAYES_00,INVALID_MSGID, RATWARE_MS_HASH,RATWARE_OUTLOOK_NONAME autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1014db,c2f5d3be19a9b5eb,start X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,c2f5d3be19a9b5eb,start X-Google-Attributes: gid103376,public From: "Tim Behrendsen" Subject: Re: Why isn't Ada as popular as C? [Was: C is better than Ada because...] Date: 1996/07/31 Message-ID: <01bb7f20$c0e477e0$96ee6fcf@timhome2>#1/1 X-Deja-AN: 171283736 content-type: text/plain; charset=ISO-8859-1 organization: A-SIS mime-version: 1.0 newsgroups: comp.lang.c,comp.lang.ada Date: 1996-07-31T00:00:00+00:00 List-Id: On Wed, 31 Jul 1996, John F. Bode wrote: > In article <01bb7da5$ef97cf00$96ee6fcf@timhome2>, you write: > Ada hasn't caught on outside of DOD-based applications for several reasons. > First and foremost, Ada's problem domain is large, mission-critical > systems. Using Ada to write a word processor is perceived (wrongly, IMO) > to be overkill (although, with good design, you would get a very robust > word processor). It hasn't caught on for personal computer applications > because the hardware has only recently caught up with the demands Ada > development places on the host environment. Hell, we had a mini > (admittedly ancient) that could barely handle the load imposed by Ada's > development environment. Besides, running Ada on top of something like DOS > is like tying an F-14 engine to a Piper Cub. Back in the Unix early days, it had the reputation for being a very slow operating system, and its proponents would always come back with, "Hey! Unix is not slow! Get a *real* computer." Meanwhile, of course, the PC folks would laugh at them and get back to work. Now, in hindsite, *both* were right. Unix *was* slower than other operating systems that were either 1) written in assembly, or 2) not as feature-filled. Nowadays, when computer power is much cheaper, the overhead of the operating system is not as much of an issue, and we don't worry about it anymore (much). Hearing your statements above, this sounds a *lot* like the old Unix arguments. Is it possible that Ada really *is* slower, but the world will ultimately figure out that Ada (or some other, call it, more robust language) will be worth the overhead? > Sociological factors play a role as well. Ada is not a hacker's language > -- you don't get the thrill of being truly obscure with Ada code. > Programming in Ada requires a bit more forethought than programming in C -- > you can't just rush in and bang out code. Rapid Application Development in > Ada is a bit of an oxymoron, and RAD is the way many people are going. > Finally, because so many people are familiar with C, there's not a lot of > push to convert to Ada. It's easier to move to C++ or Java, because they > inherit much of their structure from C. But then, C didn't catch on > overnight either. Remember, Real Programmers use FORTRAN. I agree. Compatibility is everything, which is why Windows took over the world, despite very real flaws in the design. Based on your statements above, it makes me wonder if were in the same state that we were in when Unix came on the scene; the world was not quite ready for portable operating systems, and right now the world is not quite ready for languages that aren't "close to the metal" (Not to make assumptions about Ada that may not be necessarily true). Of course, when you look at C++ and the amount of dynamic memory allocation it does, performance has begun to rear its head for that language, too. > I agree that no language will overcome poor design, but Ada provides more > tools to support good design than C does. Ada's typing rules are much, > much stronger than C's. Data abstraction is easier to accomplish. > Encapsulation is easier to accomplish. And, like C, Ada does allow you to > get down to the hardware level, letting you implement bit fields to your > heart's content. The fact that it isn't more popular is a shame, but not > surprising. Actually, you refer to the "environment" quite a bit; what is different environmentally speaking compared to a C development environment? Tim Behrendsen (tim@airshields.com)