comp.lang.ada
 help / color / mirror / Atom feed
From: merlin@annwfn.com (Fred McCall)
Subject: Re: C++ bashing (was Re: Vendor bashing? Sort of.)
Date: Sat, 24 Sep 1994 14:53:13 -0400
Date: 1994-09-24T14:53:13-04:00	[thread overview]
Message-ID: <85BA331C6A0@annwfn.com> (raw)
In-Reply-To: 35nlhb$6u0@gnat.cs.nyu.edu

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
>wword preprocessor is normally reserved for translator systems that do
>generate intermediate source. In no sense whatever does GNAT generate C,
>it links directly to the GCC backend, and by no stretch of the imagination
>can GNAT be called a preprocessor (if GNAT is a preprocessor, so are all
>the front ends of GCC, including C itself).

Well, that *does* make C a 'preprocessor', since most C compilers can be
made to generate assembly (and the first ones did indeed work this
way).  And if C is a 'preprocessor', then GNAT (and C-Front) must be
PRE-preprocessors!

>
>Now of course ideally, if the intermediate source code is 100% hidden from
>the user, then it is not so important a distinction, however, it can
>certainly effect efficiency (there is no efficient way of handling Ada OR
>C++ exceptions if you have to generate C source code).

Sure there is.  You stuff it into a link library and don't generate code
for anything but the library call (which, I believe, is exactly the way
a number of things are done with C-Front -- which is why it's as
incorrect to call it a 'preprocessor' as it is to call any other
compiler one).



--
"Insisting on perfect safety is for people who don't have the balls to live
 in the real world."   -- Mary Shafer, NASA Ames Dryden
---------------------------------------------------------------------------
merlin@annwfn.com -- I don't speak for others and they don't speak for me.



  reply	other threads:[~1994-09-24 18:53 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 [this message]
1994-10-04 16:03                     ` -mlc-+Schilling J.
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