
24 Apr
2009
24 Apr
'09
1:07 p.m.
Hello Alex, Friday, April 24, 2009, 8:57:40 PM, you wrote:
so, if you just need haskell-C++ interaction, you may look into using FFI [1,2]. if you believe that you can compile some java/ruby/haskellwhatever code down to C++ and incorporate it into your function - sorry, they all have too different computing model
Actually some Scheme compilers have a "c-declare" form that lets you create C functions, which can be called from C, Haskell, Java, Ruby etc.
and it supports lazy lists? :) all compiled languages has some FFI, the problem is that FFI limited to common subset of all those languages - i.e. primitive types and pointers -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com