home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / c / 20084 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.9 KB

  1. Xref: sparky comp.lang.c:20084 comp.lang.c++:19776
  2. Path: sparky!uunet!pipex!warwick!uknet!brunel!cs89rdb
  3. From: cs89rdb@brunel.ac.uk (Roger D Binns)
  4. Newsgroups: comp.lang.c,comp.lang.c++
  5. Subject: Re: C/C++ Correctness (was: Re: C/C++ Speed)
  6. Message-ID: <C19qw8.1z3@brunel.ac.uk>
  7. Date: 22 Jan 93 18:48:07 GMT
  8. References: <TMB.93Jan14143610@arolla.idiap.ch>
  9. Followup-To: comp.lang.c,comp.lang.c++
  10. Organization: Brunel University, Uxbridge, UK
  11. Lines: 28
  12. X-Newsreader: TIN [version 1.1 PL8]
  13.  
  14. Thomas M. Breuel (tmb@arolla.idiap.ch) wrote:
  15. : But, in my experience, you can't do both: once you start taking full
  16. : advantage of C++'s convenience and safety features (memory management,
  17. : virtual functions, etc.) you pay a hefty price in terms of
  18. : performance. In fact, I find that the price I pay for these features
  19. : in C++ is often larger than in other languages.
  20.  
  21. You will only take full advantage of features if they give you some gain.
  22. Usually, it is less debugging time, and quicker development.  The question
  23. is what would you rather have:
  24.  
  25. - A product early to market that is correct, and runs at a performance
  26.   'penalty'
  27. - A product early to market that is incorrect, and has no penalty
  28. - A product late to market that is correct and has no performance penalty
  29.  
  30. I suspect the case is the first one.  The second one seems to be common
  31. practice.  The last one will give you the warm fuzzy feeling you desire
  32. when having no performance penalty.
  33.  
  34. Roger
  35. -- 
  36. +=============================================================================+
  37. | cs89rdb@brunel.ac.uk     Roger Binns    Brunel University - UK              |
  38. |:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
  39. | Do your bit to destroy the American economy by overwhelming their legal     |
  40. | system - buy an Intel chip to run your Lotus software TODAY.                |
  41. +=============================================================================+
  42.