From: Jeremy Henty Date: 2008-12-12T19:48:09+09:00 Subject: Re: Q: FFI and C++? On 2008-12-11, Alex Fenton wrote: > Latest SWIG does include C as a target language. In other words it > can generate ANSI C wrapper code around C++ classes / libraries. Very interesting! Thanks. > SWIG can also output a parse of C++ classes and methods to XML. But > if this is all you want to do, probably the Rb++ route is better as > it has existing Ruby classes for making use of the parse. I guess in > theory you might also be able to generate the FFI code from this at > the same time. That's my plan, but SWIG is an interesting option too. Jeremy Henty