comp.lang.ada
 help / color / mirror / Atom feed
From: kilgallen@eisner.decus.org (Larry Kilgallen)
Subject: Re: Papers saying Ada as an overly complex language and hard to implement
Date: 1998/02/18
Date: 1998-02-18T00:00:00+00:00	[thread overview]
Message-ID: <1998Feb18.072217.1@eisner> (raw)
In-Reply-To: dewar.887765847@merv


In article <dewar.887765847@merv>, dewar@merv.cs.nyu.edu (Robert Dewar) writes:

> The factor of ten, if real, means that the C compiler was very poor indeed.
> Why do I say this? Because in a good C compiler, the code generator will
> be by FAR the largest component of the compiler, and the same is true
> of an Ada compiler. For example, in GNAT, the gcc backend is larger
> than the gnat front end.

One thing certainly missing from the first four years of the VAX C
compiler was reasonable debugger support (generating proper symbol
tables).  Although not measured in the size of the compiler, the
same team was responsible for code to go into the VMS debugger
for the language-specific command parsing, and that was also
among the missing.

I have my own opinions about the people involved not having the
habit of sticking with a project and seeing it through.  One
can avoid that rathole and say that it takes more than passing
validation tests and compiling well-formed programs correctly
to make a good compiler.  In fact if one makes the generalization
that passing a validation suite constitutes the measure of behavior
for correct programs, my primary differentiator between Ada compilers
would be how well they help me on incorrect programs.

> In fact I suspect the factor of ten was, for whatever reasons, an apple
> and oranges comparison (all sorts of things can distort such comparisons,
> e.g. static vs dynamic linked libraries, debugging information, inclusion
> of tools etc.

The VAX Code Generator (VCG) was initially built to support PL/I and C
to prove the point that a common back-end could serve two languages in
the DEC offerings.  It was subsequently used in many other DEC compilers
(not Pascal and not Fortran).  But along the way each language team added
their own enhancements to their own copy.  By the time it got to Ada it
might have grown quite a bit (perhaps to the better, but grown).

For Alpha, I believe DEC's GEM back end is more on the model of putting
all enhancements back into the common pool.

I would guess that the current DEC C for VAX compiler has a much more
elaborate front end than the former VAX C, since it must handle many
dialects, including ANSI and including the former VAX C (K&R) dialect.
Even within the latest standardized dialect, the compiler offers
options regarding how strictly to measure programs (such as the
recently discussed "ignore the results of a function").  VAX C
had none of that.

Larry Kilgallen




  parent reply	other threads:[~1998-02-18  0:00 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-15  0:00 Papers saying Ada as an overly complex language and hard to implement Yongxiang Gao
1998-02-15  0:00 ` Robert Dewar
1998-02-16  0:00   ` Yongxiang Gao
1998-02-16  0:00     ` Jon S Anthony
1998-02-16  0:00     ` Robert Dewar
1998-02-16  0:00       ` Yongxiang Gao
1998-02-17  0:00         ` Simon Wright
1998-02-18  0:00           ` Yongxiang Gao
1998-02-18  0:00             ` Stanley R. Allen
1998-02-18  0:00             ` Robert Dewar
1998-02-18  0:00               ` Robert Dewar
1998-02-19  0:00               ` Stanley R. Allen
1998-02-20  0:00                 ` Markus Kuhn
1998-03-05  0:00             ` Robert I. Eachus
1998-02-17  0:00         ` Robert Dewar
1998-02-18  0:00           ` Yongxiang Gao
1998-02-19  0:00             ` John English
1998-02-22  0:00               ` Luis Espinal
1998-02-22  0:00                 ` Robert Dewar
1998-02-23  0:00                   ` Nick Roberts
1998-02-24  0:00                     ` Jonas Nygren
1998-02-24  0:00                       ` Larry Kilgallen
1998-02-25  0:00                         ` Nick Roberts
1998-02-25  0:00                         ` Keith Thompson
1998-02-20  0:00             ` Markus Kuhn
1998-02-20  0:00               ` Laurent Guerby
1998-03-03  0:00               ` Matthew Heaney
1998-03-03  0:00                 ` Stanley R. Allen
1998-02-19  0:00           ` Ada's complexity Steve Furlong
1998-02-20  0:00             ` Markus Kuhn
1998-02-17  0:00         ` Papers saying Ada as an overly complex language and hard to implement Joe Gwinn
1998-02-17  0:00           ` Robert Dewar
1998-02-18  0:00             ` vonhend
1998-02-18  0:00               ` Robert Dewar
1998-02-18  0:00               ` Robert Dewar
1998-02-22  0:00               ` Simon Wright
1998-02-18  0:00             ` Larry Kilgallen [this message]
1998-02-18  0:00           ` Larry Kilgallen
1998-02-17  0:00             ` Dan Moran
1998-02-18  0:00             ` Joe Gwinn
1998-02-16  0:00     ` Ralph Paul
1998-02-16  0:00     ` Brian Rogoff
1998-02-16  0:00   ` Brian Rogoff
1998-02-16  0:00     ` Robert Dewar
1998-02-16  0:00       ` Brian Rogoff
1998-02-17  0:00         ` Andi Kleen
1998-02-17  0:00           ` Brian Rogoff
1998-02-17  0:00       ` Geert Bosch
1998-02-19  0:00         ` Parsing Ada and C++ Steve Furlong
1998-02-16  0:00 ` Papers saying Ada as an overly complex language and hard to implement nabbasi
1998-02-16  0:00   ` Yongxiang Gao
1998-02-16  0:00     ` nabbasi
  -- strict thread matches above, loose matches on Subject: below --
1998-02-18  0:00 Marin David Condic, 561.796.8997, M/S 731-96
replies disabled

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