comp.lang.ada
 help / color / mirror / Atom feed
From: jls@summit.novell.com (-mlc-+Schilling J.)
Subject: Re: C++ bashing (was Re: Vendor bashing? Sort of.)
Date: 4 Oct 1994 12:03:23 -0400
Date: 1994-10-04T12:03:23-04:00	[thread overview]
Message-ID: <36rucbINN4gr@marble.summit.novell.com> (raw)
In-Reply-To: 85BA331C6A0@annwfn.com

>>In <35nlhb$6u0@gnat.cs.nyu.edu> dewar@cs.nyu.edu Robert Dewar writes:
>>
>>I would not quite put C-Front in the same category as GNAT. The big difference
>>is whether you are generating source code as an intermediate step. The
>>word preprocessor is normally reserved for translator systems that do
>>generate intermediate source. 

If cfront had only done syntax and semantic checking for C++-only constructs,
and passed C constructs on to the C compiler for checking, then it could
rightfully be called a preprocessor.  But in fact cfront does full checking
for the entire C++ language, and no diagnostics should ever appear from 
the underlying C compiler (except due to glitches in either cfront or the
C compiler).  Thus cfront must be considered a legitimate compiler, as would
any similar translator that compiled Ada through C.  (Of course GNAT is also
a legitimate compiler, I wasn't trying to imply it is a preprocessor!)

See also Stroustrup D&E, Sec. 3.3.1, for a similar defense of what cfront is.

Yes, there are certainly limitations to this approach, especially when it
comes to areas like exception handling and symbolic debugging support. 
But the limitations falls under the category of "tradeoffs in compiler 
architecture", not "this is not a compiler".

-- 
Jonathan Schilling
Novell, UNIX Systems Group (UNIX System Laboratories)
jls@summit.novell.com



  reply	other threads:[~1994-10-04 16:03 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-09-08 13:53 Air Force shows how meaningless Ada waiver process is Rhoda Metzger
1994-09-08 17:36 ` John R. Cobarruvias
1994-09-08 19:14 ` Greg Annoyingme gets tricky (was: Re: Air Force shows how meaningless Ada waiver process is) Ted Dennison
1994-09-08 20:16   ` John R. Cobarruvias
1994-09-13  9:46 ` Air Force shows how meaningless Ada waiver process is Richard A. O'Keefe
1994-09-13 16:14   ` Michael Feldman
1994-09-13 20:14     ` Robert Dewar
1994-09-14  2:46       ` Vendor bashing? Sort of Michael Feldman
1994-09-14 13:17         ` Mitch Gart
1994-09-15 13:28           ` Robert Dewar
1994-09-16 15:26             ` Michael Feldman
1994-09-16  1:56           ` Michael Feldman
1994-09-16 14:16             ` Gregory Aharonian
1994-09-16 18:23               ` Quo Vadis Ada Market?(was Re: Vendor bashing? Sort of.) david.c.willett
1994-09-17  0:11               ` Vendor bashing? Sort of Robert Dewar
1994-09-18 14:02                 ` Gregory Aharonian
1994-09-19 15:20                   ` david.c.willett
1994-09-19 17:11                   ` Kent Mitchell
1994-09-19 11:48                 ` Ted Dennison
1994-09-19 19:16             ` Kent Mitchell
1994-09-27  4:26               ` Michael Feldman
1994-09-27 16:38                 ` Kent Mitchell
1994-09-14 14:30         ` Mike Ryer
1994-09-15 13:30           ` Robert Dewar
1994-09-19  2:19             ` Michael Feldman
1994-09-19  3:52               ` Robert Dewar
1994-09-22 16:43                 ` Michael Feldman
1994-09-22 22:11                   ` Richard Kenner
     [not found]                   ` <35svf1$77i@cmcl2.nyu.edu>
1994-09-27  4:19                     ` Michael Feldman
1994-09-27 14:35                       ` M3 Network Objects (Formerly: bashing? Sort of.) Anthony Gargaro
1994-09-19 19:20               ` Vendor bashing? Sort of Erik Naggum
1994-09-20 13:58               ` C++ bashing (was Re: Vendor bashing? Sort of.) -mlc-+Schilling J.
1994-09-20 21:51                 ` Robert Dewar
1994-09-24 18:53                   ` Fred McCall
1994-10-04 16:03                     ` -mlc-+Schilling J. [this message]
1994-10-04 18:44                       ` Robert Dewar
1994-10-05 14:24                         ` -mlc-+Schilling J.
1994-09-14 13:49       ` Air Force shows how meaningless Ada waiver process is Christopher Costello
1994-09-17 12:40       ` Fred McCall
1994-09-22 17:15         ` Was... Air Force shows... Now... Vendor Bashing Chris Eveleigh
replies disabled

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