home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / pascal / 7766 < prev    next >
Encoding:
Text File  |  1992-12-31  |  1.7 KB  |  37 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!psgrain!qiclab!leonard
  3. From: leonard@qiclab.scn.rain.com (Leonard Erickson)
  4. Subject: Re: Distributing TPUs
  5. Message-ID: <1992Dec31.121645.6747@qiclab.scn.rain.com>
  6. Reply-To: Leonard.Erickson@f51.n105.z1.fidonet.org
  7. Organization: SCN Research/Qic Laboratories of Tigard, Oregon.
  8. References: <1992Dec27.022633.14853@beaver.cs.washington.edu>     <765338d8368876t211@witsend.uucp> <dmurdoch.254.725594757@mast.queensu.ca> <1992Dec29.163745.19275@nmsu.edu>
  9. Date: Thu, 31 Dec 1992 12:16:45 GMT
  10. Lines: 25
  11.  
  12. trodgers@nmsu.edu (Thomas Rodgers) writes:
  13.  
  14. >dmurdoch@mast.queensu.ca writes :
  15. >> It's a trade-off.  .TPU files contain some optimizations that make
  16. >> compiling and linking go much faster than ic could with .OBJ files; 
  17. >> these mean upward compatibility is essentially impossible.
  18.  
  19. >Hmmm...Having used Borland's C++ product as well as their pascal
  20. >product, I think I would rather put up with slightly slower compile times
  21. >to get the ability to use .OBJ files, for several reasons.  Borland's
  22. >C++ product is not that slow of a compiler, the biggest slowdown comes
  23. >from compiling all of those <.h> files, but you can pre-compile the
  24. >headers (not the greatest solution, but it works).  Borland could go a
  25. >similar route with the Pascal units.
  26.  
  27. Well, TPU files have a *big* advantage over OBJ and LIB files in one
  28. area. If I only use *one* function or procedure from a TPU, only the
  29. code required for *that* is incorporated in the final EXE. Ditto for
  30. constants defined in the TPU. Only the ones that get *used* are incorporated.
  31.  
  32. -- 
  33. Leonard Erickson              leonard@qiclab.scn.rain.com
  34. CIS: [70465,203]             70465.203@compuserve.com
  35. FIDO:   1:105/51     Leonard.Erickson@f51.n105.z1.fidonet.org
  36. (The CIS & Fido addresses are preferred)
  37.