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

  1. Xref: sparky comp.lang.c:20031 comp.lang.c++:19697
  2. Path: sparky!uunet!noc.near.net!news.centerline.com!jimf
  3. From: jimf@centerline.com (Jim Frost)
  4. Newsgroups: comp.lang.c,comp.lang.c++
  5. Subject: Re: C/C++ Correctness (was: Re: C/C++ Speed)
  6. Date: 21 Jan 1993 20:34:18 GMT
  7. Organization: CenterLine Software, Inc.
  8. Lines: 16
  9. Message-ID: <1jn1caINN537@armory.centerline.com>
  10. References: <1993Jan18.171841.3008@informix.com> <1jka6h$n32@agate.berkeley.edu> <1jkismINN3qq@armory.centerline.com> <1993Jan21.081537.8192@netcom.com>
  11. NNTP-Posting-Host: 140.239.3.202
  12.  
  13. erc@netcom.com (Eric Smith) writes:
  14. >In article <1jkismINN3qq@armory.centerline.com> jimf@centerline.com (Jim Frost) writes:
  15. >...
  16. >>It's true that if you use C++ as a C with better type checking there
  17. >>will be few runtime performance penalties.  In fact, C++ inlining
  18. >>alone can overcome many performance drawbacks.
  19. [...]
  20. >Inlining can in fact make C++ faster than C, especially if it's the
  21. >only non-C feature you use in C++.  For many C programmers, inlining
  22. >alone is enough to justify the move to C++.
  23.  
  24. That's what I was trying to say, thanks for a more eloquent
  25. description.
  26.  
  27. jim frost
  28. jimf@centerline.com
  29.