home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / msdos / programm / 8201 < prev    next >
Encoding:
Internet Message Format  |  1992-07-31  |  2.2 KB

  1. Path: sparky!uunet!stanford.edu!bcm!lib!oac.hsc.uth.tmc.edu!snewton
  2. From: snewton@oac.hsc.uth.tmc.edu (Steven E. Newton)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: Borland or MS C++ Which is Better?
  5. Summary: MS C++ experience OK
  6. Message-ID: <7041@lib.tmc.edu>
  7. Date: 31 Jul 1992 14:24:08 GMT
  8. References: <1992Jul30.164712.202165@uctvax.uct.ac.za>
  9. Sender: usenet@lib.tmc.edu
  10. Organization: UT Health Science Center Houston
  11. Lines: 37
  12. Nntp-Posting-Host: oac.hsc.uth.tmc.edu
  13.  
  14. In article <1992Jul30.164712.202165@uctvax.uct.ac.za> brrian04@uctvax.uct.ac.za writes:
  15. >Has anyone used both Borland C++ 3 and MS C++ 7?  I'm wondering how they
  16. >compare.  Which is a better overall for writing both DOS and Windows code?
  17. >Any information on these two products would be appreciated.  
  18. >
  19. >Thanks
  20. >brrian04@uctvax.uct.ac.za
  21.  
  22. We have a couple of medium-sized programs we support here and one large
  23. one.  Prior to upgrading to MS C/C++ 7 we had been using MSC 5.1 for
  24. development.  There were two noticable improvements in the code built
  25. with 7.0.
  26.  
  27. First, by using the /Gy function-level linking option (and changing no
  28. other compile options) the executables were a bit smaller.  Actually 15%
  29. smaller in the case of our DOS Wais client, because the code is built on
  30. top of the generic wais distribution, and there are a *lot* of routines
  31. in the various lower-level protocol modules that are never called by a
  32. client -- they are used only by servers.  This reduced the executable
  33. from 143K to 125K.  The others were not so dramatic, but were still more
  34. compact.
  35.  
  36. Second, the text-mode screen handling routines in conio.h -- _textout(), 
  37. _settextposition(), and _clearscreen() -- are a bit faster, making the
  38. program appear to run faster, even if it really isn't.
  39.  
  40. I develop from the command line rather than use the Progammer's
  41. Workbench, so I can't evaluate that.
  42.  
  43. Optimization seems to be a bit more reliable now than it was in 5.1.
  44.  
  45. Steve
  46. -- 
  47. +      +      +      +      +      +      +    |snewton@oac.hsc.uth.tmc.edu
  48.          The map is the territory/             |Nobody else speaks for me,
  49.        The map is not the territory.           |and I speak for no one else.
  50.                                                |     +     +     +     +     +
  51.