[MacRuby-devel] Will FFI make it into macruby?

Laurent Sansonetti lsansonetti at apple.com
Wed Mar 17 21:59:35 PDT 2010


On Mar 17, 2010, at 6:11 PM, Jeremy Voorhis wrote:
> MacRuby is progressively following LLVM. However we do at the moment require a revision where ModuleProvider.h exists (I have a local patch that makes it work for future revisions too but it's not applied yet).
> 
> # The LLVM_TOT variable can be passed to rake in order to sometimes build with more recent revisions than the one specified in the README.rdoc file, but it is only used for internal development and targets a special internal branch of LLVM, so it might not always work against the public trunk.
> 
> Ideally we will target the final 2.7 once it's out, which shouldn't be long now.
> 
> Do you intend to continue progressively tracking LLVM? LLVM-trunk is such a moving target, but so long as the llvm-c interface stays compatible this is no problem. 

We don't really have a choice, the C API does not offer all the features we need and we also need to follow the new LLVM changes internally. Hopefully, the LLVM team is always helping us :-)

> Linkage may also be problematic since my FFI bindings depend on LLVM dylibs. I'm not sure how they would work with MacRuby yet.

It will very likely collide at runtime... until we un-export all symbols (but the C extension ones) from the link phase, which should happen in theory for our next release, 0.6.

Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20100317/75040bf7/attachment.html>


More information about the MacRuby-devel mailing list