home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / amiga / applicat / 9534 < prev    next >
Encoding:
Text File  |  1992-12-21  |  2.8 KB  |  57 lines

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