[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shared Libraries?



On Friday, February 1 at 05:54 PM, quoth Mark Johnson:
On Feb 1, 2008 5:20 PM, Matthew Dempsky <matthew@xxxxxxxxxxx> wrote:
There was no standard for building shared libraries in 1996. POSIX still does not give one.

There's my Linux bias showing. I've never been without them. Not everybody had them back in '96. Fast forwarding 12 years, is anybody running qmail et all on a platform with no shared library support? Or a platform that GNU Libtool doesn't support (I suppose that's another dirty word on this list)?


Can anybody think of a *technical* reason that would make abstracting the common bits out into a shared library a bad idea?

Generally, statically linked programs load faster than non-statically linked programs (see here for a demonstration: http://bulk.fefe.de/scalability/). Granted, you can still make static common libraries, but at that point all you're doing is making the code more complex without any real benefit---how often does the code in qmail.c change, after all.


~Kyle
--
One of the world's greatest problems is the impossibility of any person searching for the truth on any subject when they believe they already have it.
-- Dave Wilbur

Attachment: pgp00001.pgp
Description: PGP signature