Subject: [ruby-ffi] Re: c++ examples |
From: rogerdpack |
Date: 12/1/09 9:52 PM |
To: ruby-ffi |
Unlike C, C++ does not have a stable ABI, so supporting C++ in FFI would be a huge undertaking (i.e. supporting the bazzilion of different ABIs in existance so far). I think your best bet right now is to write C wrappers around the Boost stuff and then use FFI to talk to the C wrappers.
Thanks for the suggestions. I'll look into using rice or writing my own wrappers to it. I assume that having to do so will make my code slightly harder to integrate with jruby, is that right? -r