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