home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2591 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.3 KB  |  54 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: chang.unx.sas.com!walker
  3. From: walker@chang.unx.sas.com (Doug Walker)
  4. Subject: Re: AsynchIO (was: fastest file read method ??)
  5. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  6. Message-ID: <DM5IJ7.KCr@unx.sas.com>
  7. Date: Fri, 2 Feb 1996 13:52:19 GMT
  8. X-Nntp-Posting-Host: chang.unx.sas.com
  9. References: <w9YbsMD4ACazz9@jeff.dame.shnet.org> <4e8rjc$c4g@news.sdd.hp.com> <541.6600T924T2213@amiga.pp.se> <4eglhg$kas@news.sdd.hp.com>
  10. Organization: SAS Institute Inc.
  11.  
  12. In article <4eglhg$kas@news.sdd.hp.com>,
  13. Jeff Grimmett  <jgrimm@sdd.hp.com> wrote:
  14. >mikael.berglund@amiga.pp.se (Mikael Berglund) wrote:
  15. >
  16. >>>Yes. I agree.  At at 10 programs, I'd say you had hit critical mass and
  17. >>>it WOULD justify a shared lib.  ReqTools is a good example, whereas
  18. >>>JoeBob.library is just used by one program to make rude noises.
  19. >>
  20. >>I think at even 2 programs hit that critical mass and as for just one
  21. >>program look at my other post.
  22. >
  23. >I guess it could be a judgement call for 2 programs, but it would have to 
  24. >be one hell of a library for me to agree.
  25. >
  26.  
  27. Well, with SAS/C we split the compiler into seven .library files, each of
  28. which is only used by one program.  And it made perfect sense.  Our aim
  29. wasn't commonality of use, it was reduction of memory overhead and 
  30. "automatic" residentable code.  In other words, if you have the memory,
  31. the whole compiler becomes resident the first time you use it; if you
  32. don't have the memory, the compiler pages itself in and out as the
  33. various phases come and go.
  34.  
  35. I'm a big fan of shared libraries; I would write libraries for a single
  36. program to allow it to access multiple devices or formats, for example.
  37. We were taking this approach with the Parnet 3.0 before it got derailed
  38. and killed: seperate shared libraries to deal with ethernet, parallel
  39. port, serial port, local loopback, etc.
  40.  
  41. Of course it helps if you're using SAS/C V6.56 so you can use CPR to
  42. debug the shared libraries easily and the built-in startups to build
  43. them easily.  (There's a reason why SAS/C makes it so convenient to work
  44. with shared libraries; for a clue, see paragraph 1 of this reply 8^)
  45.  
  46. -- 
  47.   *****                    / walker@unx.sas.com
  48.  *|_o_o|\\     Doug Walker<  BIX, Portal: djwalker
  49.  *|. o.| ||                \ AOL: weissblau
  50.   | o  |//     
  51.   ====== 
  52. Any opinions expressed are mine, not those of SAS Institute, Inc.
  53.  
  54.