comp.lang.ada
 help / color / mirror / Atom feed
From: CAROZZONI@TOPS20.RADC.AF.MIL
Subject: Death of C (Re: TH)
Date: 15 Nov 89 15:18:05 GMT	[thread overview]
Message-ID: <12542446812.15.CAROZZONI@TOPS20.RADC.AF.MIL> (raw)

>........................................................In particular, the 
>ordinary systems which most people will be seeing in front of them for the 
>next 5 - 15 years, UNIX systems and PCs, will not run Ada acceptably. 

	And the technical reason is ? 
 
>C began with real machines, real programmers.  The idea seems to have 
>been:   
>  
>      "Lets take a hard look at this little PDP-7 and design a language 
>      which is one-to-one with its logical operations as many ways as 
>      possible (the plus-plus operator and register increments and so on) 
>      so that the code is as FAST as can be contrived, maximally easy to 
>      implement (so that next year when we get our PDP7.5 or whatever, 
>      we're back rolling in 2 weeks), and, within these constraints, is 
>      as amenable to human logic as possible in a no-nonsense, point-and- 
>      shoot kind of way, so that we end up with a kind of high-structured, 
>      low-level language; a thinking-man's assembler.  And then, let's 
>      write an operating system (UNIX) in that language so that, when we 
>      get our PDP-7.5, or the next year's computer, whatever it may be, 
>      we're REALLY back rolling two weeks later. 
 
	Your right, C was designed specifically for the PDP 7 instruction set, 
	but my employer has long stopped using them. The PDP 7 H/W has been 
	traded in for a VAX, just as C has been traded in for Ada. The biggest 
	bottleneck right now is the S/W, not the H/W. 
 
	You must also consider that when C was created, writing of the S/W 
	was the largest consumer of resources. Now maintenance is the 
	largest consumer. Having spent the last 5 years concentrating 
	on C and Ada, I can appreciate this more than ever.

 
>The maximal ease of implementation was achieved by making the core 
>language as small as possible, other functionality being left to the 
>operating system and to libraries, some standard amongst UNIX systems and 
>others peculiar to various other OSs and hardware bases for which C would 
>be implemented.  This allowed good and inexpensive C compilers to evolve 
>rapidly for PCs and other micros and, since the authors of those compilers 
>maintained the standard libraries as close as possible to the UNIX 
>implementations, C became the natural bridge between mid-sized and large 
>computers running UNIX and the micros.   
 
 
	Standardization among C compilers can best be shown by the Billions 
	and Billions of "ifndef"'s and "ifdef"'s in any C program such as 
	the Emacs Editor source code. 
 
 
>In fact, C++ appears to BE the very language which Ada was supposed to be 
>(the spirit of the law) but never can and never will be.   
 
	Ada was supposed to BE a standard, C and C++ weren't (by design). 
 
>.............. of state-of-the-art principles of "software-engineering", 
>whatever that's supposed to mean, seemingly by assembling 300 committee 
>members in a room, having each draw up a maximum possible wish-list of 
>features for a programming language and/or operating system, and then 
>adding up all of the lists to a "standard", with any considerations of 
>real-world computers being regarded as unimportant.  
 
 
	And what do you have to say about the ANSI C steering COMMITTEE? 
	Should all but one be shot and let him/her decide on C's future? 
 
 
>Ada is what you might expect from a programming language designed by 
>committee;  
 
	Again, who is guiding C right now?  Certainly not K & R.
 
 
>it is unbelievably slow, an unbelievable resource hog, 
 
	Sun Microsystems tech reps have told me that they expect Ada can 
	produce as efficient (if not more efficient) code when Ada 
	compilers reach the level of maturity as C has. Lets get realistic. 
	The efficiency of C compilers now are more of a testimonial to 
	capitalism competitiveness rather than to the language itself. 
 
>.....PC and lots of memory to play with, Ada compilers at least will get 
>back to you on the same DAY; ................................... 
 
 
	I use Ada on a PC/AT (as do others here) and also use MS C 5.1!  
	We can't agree with you on this. Try reading the Ada compiler 
	installation manual. 
 
 
>......After All". Remember, Ada has been around since 1979.  If that were 
>the best anybody could say about C after ten years, C compiler salesmen would 
>be starving and dying like flies. 
 
	Your facts are consistently confused. The availability of validated Ada 
	compilers covering a reasonable selection of machines have only 
	been around for 4-5 years. 
  
>.......dollars for.  A far better Pascal compiler is produced by Borland and 
>can be had at B Dalton's for around $100.  Needless to say, the Rupe- 
 
	Careful, you loosing it. Borland doesn't produce their Pascal 
	compiler. They buy it. And the people they buy it from are presently 
	working on a TurboAda. Stay tuned for some read benchmarks comparing 
	C vs Ada. You will find that it is determined more by vendor compiler
	technology than by the language. 
 
 
>......  There is the August 21 89 issue of Government Computer News 
>describing the problems which the huge FAA Advanced Automation System is 
>having due to IBM Ada implementations and tools (or lack thereof).   
 
	So who is at fault here, Ada or IBM? The present mind thought 
	is "when in doubt blame Ada".
	My bank teller = "The computer made the mistake, no me!" 
 
 
>.................... "Ada and UNIX doesn't work".  I've heard that a 
>million times from users, first time that succinctly in print.  Between 
>UNIX and Ada, UNIX is the real-world standard.................. 
 
	The UNIX standard? (BDS, System 5, Xenix, OSF, UI, Mach etc)? 
 
 
>First, the programming style being promulgated by DOD for Ada is anti- 
>conducive to the stated goal of readability;  it's like looking at a 
>thousand-page novel such as "War and Peace" with three or four lines of 
>programming code interspersed every second page or so.  The verbiage hides 
>the logic.  When every variable name looks like: 
>  
>      "NUMBER_OF_CROWS_SALLY_ANNS_GRANDMOTHER_SHOT_WITH_HER_12_ 
>      GAUGE_-LAST_TUESDAY", 
>  
 
	Now were does it say this style is only for Ada? (It is recommended
	for all languages). Even those crazy AI programmers and their
	LISP use long identifiers.
 
 
>Second, DOD is often insisting on portability via Ada rather than 
>portability via UNIX, POSIX calls etc.  This amounts to such things as 
>insisting, for instance, that vendors provide direct Ada hooks to a 
>database rather than simply writing an Ada -> C -> database hook.  Typical 
>vendor response is either "F... You" or "Manana". 
 
	Your confused again. Ada is pushed for language, UNIX/POSIX for O.S. 
 
>A third is an over-emphasis on design, which often leads to grief in the 
>real-world.......................................... 
 
	I wouldn't respond to this with a 10-foot keyboard cable. 
 
 
>A military project involving Sun machines and Ada was abandoned after 
>something like 4 years and $30 million effort because of unacceptable 
>performance;  database screens were taking over a minute to come up.  The 
>design work had all been done according to your formula, the individual 
>modules had been designed, written, and tested, all according to the 
>standard military schedules and formulas (2167 etc.).  Everything seemed 
>hunky dory, only when they put the fricking thing together, it was too 
>damned slow to use.  And, the remarkable thing is, the very system the 
>military insists upon for management of software contracts prevented 
>anybody from knowing they were in trouble until four years and millions 
>had been blown.  The government people involved were essentially reduced 
>to the role of actors in a Greek tragedy. 
 
	Sounds like a $1 million effort we just completed on a Sun 4 with 
	C++. May be some military experts will analyze it and blame it
	on C++. I hope not. It is more a matter of trying to tow a
	3000 lb travel trailer with a 2000 Escort.
  
 
>      Ada threatens to leave DoD stranded and technologically backwards; 
>out of the mainstream of American computer science.............. 
 
	A recent article indicated that Ada and Ada like (Pascal, Modula 2)
	languages are the primary choice for Software Engineering Curriculums. 
	May be you should enroll in one. 
 
>  
>Ted Holden 
>HTE 
> 
 
 
	BTW - Your views are so biased toward C and so steadfast 
	against Ada, that the validity of your letter is taken more as 
	a joke than informative reading. 
 
-------

             reply	other threads:[~1989-11-15 15:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1989-11-15 15:18 CAROZZONI [this message]
1989-11-16  8:57 ` Death of C (Re: TH) Richard O'Keefe
  -- strict thread matches above, loose matches on Subject: below --
1989-11-17  4:40 Michael Hunter
1989-11-22 13:34 Dave Davis
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox