[Haskell-cafe] FFI - Approaches to C/C++

Casey Basichis caseybasichis at gmail.com
Thu Jan 31 06:41:48 CET 2013


Hi,

I'm working on a project in Haskell and C++ where the former is the brains
and the latter is for UI, interaction etc.

I've read this
http://www.altdevblogaday.com/2012/04/26/functional-programming-in-c/ and a
number of other haskell posts suggesting the OOP is not the way to go.

Without trying to emulate functional programming through templates or
boost::phoenix, what approaches do you all favor when designing parts of an
application in C++?  Patterns to embrace or avoid?

Should I just use functions and handle things with name spaces?  I was
thinking about handling the callbacks with boosts signals and slots 2

I know this is not entirely haskell centric, but it is a question for
haskell users.

Thanks,
Casey

-- 
Casey James Basichis
Composer - Cartoon Network
http://www.caseyjamesbasichis.com
caseybasichis at gmail.com
310.387.7540
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130130/8e670d09/attachment.htm>


More information about the Haskell-Cafe mailing list