FFI

Manuel M. T. Chakravarty chak@cse.unsw.edu.au
Sat, 12 Jan 2002 13:24:54 +1100


Mark Conway Wirt <mark@ArsConcero.org> wrote,

> I'm looking for opinions as to the best way to do a C (or C++)
> foreign interface to GHC haskell code.
> 
> It looks like there are three options.

I think, there are five options:

* H/Direct (you mentioned that already)
* GreenCard (ditto)
* C->Haskell
  http://www.cse.unsw.edu.au/~chak/haskell/c2hs/
* hsc2hs (comes with GHC)
* Plain FFI

Cheers,
Manuel