[Haskell-cafe] Re: Non-technical Haskell question
jgoerzen at complete.org
Mon Dec 6 09:39:03 EST 2004
On 2004-12-06, Keith Wansbrough <Keith.Wansbrough at cl.cam.ac.uk> 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
> 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.
More information about the Haskell-Cafe