Subject:
Re: [ruby-ffi] c++ examples
From:
Luis Lavena
Date:
12/1/09 5:02 PM
To:
ruby-ffi@googlegroups.com

On Tue, Dec 1, 2009 at 7:38 PM, rogerdpack <rogerdpack@gmail.com> wrote:
> Are there any c++ examples anywhere?

libffi aims to be C interface.

I'm unaware of libffi being compatible with C++, so I would recommend
something like Rice to provide an interface on top of it.

http://rice.rubyforge.org/

> My end goal is to be able to use Boost's hashes/regexes.

Been looking into building boost sockets and other threading
functionalities, but definitely you need a PhD to look into Boost
itself, which I'm not capable of digest.

Cheers,
-- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exupéry