On Tue, 22 Oct 2013 20:26:53 -0400, Edward Kmett <ekm...@gmail.com> writes:

> Not suggesting we actually switch, but there is one strong 'why': You
> can't link Haskell code with any library that uses GMP internally
> internally without switching to using integer-simple. I've been trying
> with very limited success to get good MPFR bindings for Haskell for ~3
> years now as a result.

Have you tried going the other-way around?  Modifying GMP+MPFR just a
little bit to ignore the mem_set_functions that are called by GHC and
force them to use malloc.  Then writing a wrapper for this patched
GMP+MPFR.

Gergely

_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to