Servers vs. Libs

From: Erik Dalen <erik_at_nospam.org>
Date: Sun Feb 11 2001 - 04:04:14 PST

Hi all

In the VSTa design methodology it says that "if you can put it in a
library, put it in a library" and then "If you can put it in a server, put
it in a server".

But is it really preffered to put things that could be put in a server, in
a library instead?
Personally I think things that can be put in servers should be put in
servers. The graphics is a good example, In plan9 it is in a server
providing a device to write to. The programs don't need to be aware at all
of which graphics hardware there is in the computer.
But if it is put in a library instead, it can't be multiplexed (ala 8.5
and rio). But probably worse, you would have to code wrappers for the
graphics library to each programming language you'd want to code graphics
in.
And for those that preffer coding graphics by calling functions instead of
writing data to a device, a library for drawing that uses the
device(server) could be coded.

/Erik
Received on Sun Feb 11 03:45:27 2001

This archive was generated by hypermail 2.1.8 : Thu Sep 22 2005 - 15:12:57 PDT