[Mono-dev] libffi

Jonathan Pryor jonpryor at vt.edu
Thu Aug 19 15:52:32 EDT 2010


On Thu, 2010-08-19 at 10:35 -0700, Ryan Riley wrote:
> Has anyone created or investigated Mono support for libffi?

Once upon a time, Mono used libffi directly.  It was removed in r724
(git SHA1 ID d0cd6059c1b2edad12eb67cb8e64b3cd187be1b1) on 2001-09-05
(and earlier).  Unfortunately, the commit message is useless, but iirc
the reason for removing it was because it was significantly slower than
what Mono could do itself.

> I'd like to contribute this to help support Ruby-FFI for IronRuby.

I imagine IronRuby doesn't require it's own FFI, it would just use the
usual .NET FFI of DllImport, no?

As for supporting Ruby-FFI, perhaps you can extend the existing Mono FFI
support to support Ruby?  I don't know what would be involved...

 - Jon




More information about the Mono-devel-list mailing list