home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.applications
- Path: sparky!uunet!well!comeau
- From: comeau@csanta.attmail.com (Greg Comeau)
- Subject: Re: Is SAS C V6 C++ compatible
- Message-ID: <BzIr4J.IvF@well.sf.ca.us>
- Originator: comeau@well.sf.ca.us
- Sender: news@well.sf.ca.us
- Reply-To: comeau@csanta.attmail.com (Greg Comeau)
- Organization: Comeau Computing
- References: <1992Dec16.110011.14228@nntpd.lkg.dec.com> <1992Dec17.090233.26443@sunbim.be> <BzGIpJ.HGy@unx.sas.com>
- Date: Sat, 19 Dec 1992 18:24:18 GMT
- Lines: 43
-
- In article <BzGIpJ.HGy@unx.sas.com> walker@twix.unx.sas.com (Doug Walker) writes:
- >
- >In article <1992Dec17.090233.26443@sunbim.be>, accs1@bagheera.mumath writes:
- >I have a hard time understanding why people are SO CONCERNED that
- >the C++ not use C as an intermediate step. You will never see the
- >C file produced unless you ask to; the process will be as seamless
- >as using the C compiler itself. Speed and debuggability are not
- >dependent on the intermediate language used. Choice of algorithms
- >in the translator is more important than the fact that it uses
- >C as an intermediate.
-
- As this is how Comeau C++ 3.0 WIth Templates currently operates, I can
- only wholeheartedly support your statements. I disagree with none of it.
-
- Does this mean native compilers are equal to translating compilers?
- Almost. There are differences, just like there are differences between
- two native code producing compilers. For instance, ok, yes, the C compiler
- does need to be fired up and has to parse the output from Comeau C++ just
- to get object code out, and that is slower than not having to parse it
- just to do that, so if compiler speed is a concern that *might* be a con.
- A pro to that same exact feature is that things like embedded systems
- programming becomes easier. And so on. In the long run you just end up with
- an equal list of pros and cons, just like the normal pros and cons you get
- when you compare any two compilers.
-
- >Eventually the translator will be modified and will replace the C
- >front-end completely, but not in the first version. Keep in mind
- >that some intermediate language will always be used, that's the
- >way that compilers work.
-
- I should point out that although Comeau C++ has been around for so long on
- so many platforms generating C, that we too will not stick with that only
- forever. This does not imply the C generating aspect will go away (we consider
- that feature essential). Neither does this disput anything I just said
- above (if you think it does, by all means ask, and I will explain to anybody
- so interested).
-
- - Greg
- --
- Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418
- Producers of Comeau C++ 3.0 With Templates
- Here:attmail.com!csanta!comeau / BIX:comeau / CIS:72331,3421
- Voice:718-945-0009 / Fax:718-441-2310 / Prodigy: tshp50a
-