[GUI] Example: Binding C++ to Haskell using the ffi

Manuel M T Chakravarty chak@cse.unsw.edu.au
Mon, 03 Mar 2003 04:35:50 +1100 (EST)


David Sankel <camio@yahoo.com> wrote,

> for the ffi people:
> 
> Has any though gone into cplusplus?  If so, how would
> it interface?  Would stubs on the c++ side be
> generated or would it use the code directly.

Interfacing in a clean and comprehensive way to OO languages
is hard.  For a discussion of some of the problems wrt to
typing, see

  http://research.microsoft.com/Users/simonpj/Papers/oo-haskell/

AFAIK, nobody is currently actively working on a FFI
extension for C++ or Java.

Cheers,
Manuel