[Haskell-cafe] interfacing to C library - c2hs/hsc2hs/GreenCard?
Erik de Castro Lopo
mle+hs at mega-nerd.com
Mon Jan 23 08:36:58 UTC 2017
Brian Sammon wrote:
> I'd like to write a haskell app that calls a C library that I wrote.
> This is my first time trying to do something like this. What would
> people here recommend I start with? c2hs? hsc2hs? GreenCard? One
> of the newer tools like bindings-dsl or inline-c?
I'm prety sure GreenCard is dead.
Hsc2hs has the advantage of being bundled with GHC and used in the GHC
build system to build the boostrap libraries.
I've not used the others.
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
More information about the Haskell-Cafe
mailing list