Mon, 1 Oct 2001 09:55:11 +0100, Simon Marlow <[EMAIL PROTECTED]> pisze:

> We don't have support for shared libraries under Unix at the moment.  It
> has been investigated at various times in the past, and I believe the
> story is that we couldn't do it without at least losing some performance
> (more performance loss than you get from compiling C into a shared
> library).

There is also a big problem of binary incompatibility between different
versions of ghc, and dependence on the exact version of modules our
package depends on.

Dynamic libraries work for C because C has a very stable ABI. Also
it's easy to maintain binary compatibility in libraries. I'm afraid
that cross-module optimizations of ghc make dynamic libraries nearly
impractical.

-- 
 __("<  Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK


_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to