On 2004-12-06, Keith Wansbrough <[EMAIL PROTECTED]> wrote:
> The static vs dynamic linking question has been discussed many times.
> The summary is: GHC is a highly-optimising compiler, and the binary
> interface _necessarily_ changes with every minor revision (even
> patchlevel revision) of the compiler and each library.  So you can't

We already have a way to deal with that using sonames.  It's not that
hard, and is routinely used.

BTW, is this a problem even if no -O options are given when building a
library?

> sensibly share libraries between apps.  Anyway, disc is cheap.

Memory not so much, though.  One advantage of having something in .so
form is that every instance of every application that uses it shares the
same in-memory image of the code.

-- John


_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to