
21 May
2007
21 May
'07
8:50 a.m.
Hello, Has anyone got any pointers on using SWIG with Haskell to integrate a C++ library? For the library there other language bindings, so I am in a position to leverage off these. In general what are the particular issues with C++ and Haskell. One obvious one is management of object lifecycle - making sure the object stays around long enough but doesn't out stay its welcome. Is using ForeignPtr sufficient? Cheers Mark