home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / coherent / 6601 < prev    next >
Encoding:
Text File  |  1993-01-06  |  3.7 KB  |  85 lines

  1. Newsgroups: comp.os.coherent
  2. Path: sparky!uunet!well!comeau
  3. From: comeau@csanta.attmail.com (Greg Comeau)
  4. Subject: Re: Why no ANSI C compiler?
  5. Message-ID: <C0F3no.JJv@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: <BzIpwt.IJD@well.sf.ca.us> <9212235958@drktowr.chi.il.us>
  11. Date: Wed, 6 Jan 1993 05:38:12 GMT
  12. Lines: 71
  13.  
  14. In article <9212235958@drktowr.chi.il.us> magus@drktowr.chi.il.us (Louis Giliberto) writes:
  15. >Greg Comeau (comeau@csanta.attmail.com) wrote:
  16. >: In article <9212135427@drktowr.chi.il.us> magus@drktowr.chi.il.us (Louis Giliberto) writes:
  17. >: >There is one rule to programming you will learn very quickly:
  18. >: >THERE ARE NO STANDARDS WHEN IT COMES TO C
  19. >: 
  20. >: That is most certainly an overstatement.
  21. >
  22. >Is it?  Show me two compilers that will interpret a reasonable length program
  23. >in the same way.
  24.  
  25. That in and of itself doesn't confirm or deny C standards.
  26. Personally I've ported hundreds of thousands of lines of C code
  27. to different systems/compilers and in many cases had to change nothing.
  28. Not in every case (but I didn't say that).  And the situation has gotten
  29. exponentially better over the past 5 years.
  30.  
  31. >  And if you're interfacing assembly language inline
  32. >with the C, optimizations and legal register usage is a nightmare.
  33.  
  34. That's true of most languages, but why are you singling out C here?   And what
  35. does that have to do with C standards, or lack thereof?
  36.  
  37. > But sticking
  38. >just with the ANSI specs for the language, there still is a lot of stuff left
  39. >up to the implementer.
  40.  
  41. Absolutely.  A lot of stuff.
  42.  
  43. >: >C++ is even worse.
  44. >: 
  45. >: I'll disagree strongly.  C++ has and will always continue to be more standard
  46. >: than C.
  47. >
  48. >???? 1) There is no ANSI standard for C++, and 2) most C++ compilers don't
  49. >to the current Cfront spec. But, maybe you're right...I dunno.
  50.  
  51. There is an ANSI C++ committee for some 2+ years now and much progress has
  52. been made on a working draft document.  Although there has been eveolution
  53. in the C++ spec and implementations, it is MO that C++ has and will continue
  54. to be more standard than C.
  55.  
  56. >: It won't be cfront 3 compatible.  Various aspect of it will be up to date
  57. >: though.  Of course there is Comeau C++ (literally cfront 3, currently being
  58. >: 3.0.1'ized on our other platforms, and to be 3.0.2'ized 1Q93), but as I just
  59. >: mentioned in my previous message, we have been awaiting resolution of a number
  60. >: of problems from MWC for quite some number of months now.
  61. >
  62. >But who would pay >$200 for a compiler on a $99 OS?  The point is this:
  63. >most people have Coherent as a hobby/homework system.  If they were willing
  64. >to spend a couple of hundred on a second-company compiler, they would
  65. >probably be willing to spend a grand on the OS.
  66. >
  67. >Maybe your market research knows something I don't.  I wish ya luck with
  68. >it, but I'm not so sure it will fly.
  69.  
  70. Thank you for your perspective.  We didn't know for sure initially either
  71. but given the number of back orders we currently have, the pile of letters
  72. and faxes from around the globe, our phone logs, all from people wanting
  73. the high quality of Comeau C++, I can now say with certainty that quite
  74. a number of people are not feeling that it will not fly.  I can't
  75. explain it, and I'm sure every COHERENT customer will not order
  76. Comeau C++ (nor will every one order  any alternative either though),
  77. but enough have and will continue to.  (This is fact).
  78.  
  79. - Greg
  80. -- 
  81.          Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418
  82.                    Producers of Comeau C++ 3.0 With Templates
  83.           Here:attmail.com!csanta!comeau / BIX:comeau / CIS:72331,3421
  84.         Voice:718-945-0009 / Fax:718-441-2310 / Prodigy: tshp50a
  85.