JRuby/Rails native extensions

From attending Charles’ presentation at Community One East this year
(http://www28.cplan.com/cc231/session_details.jsp?isid=304267&ilocation_id=231-1&ilanguage=english)
I somehow got the distinct impression that JRuby supported native
extensions
out of the box. Now that I’m looking through the forum, it appears like
for
native Rails gems to be supported, they need to be converted in some
way.

Could someone please enlighten me on the state of native extension
support ?
If they’re not supported out of the box, is there a list of already
“converted”/“supported” native Rails gems somewhere ?

View this message in context:
http://www.nabble.com/JRuby-Rails-native-extensions-tp23407595p23407595.html
Sent from the JRuby - User mailing list archive at Nabble.com.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

akochnev wrote:

From attending Charles’ presentation at Community One East this year
(http://www28.cplan.com/cc231/session_details.jsp?isid=304267&ilocation_id=231-1&ilanguage=english)
I somehow got the distinct impression that JRuby supported native extensions
out of the box. Now that I’m looking through the forum, it appears like for
native Rails gems to be supported, they need to be converted in some way.

[1] and [2] explains roughly what’s going on. There are a number of ways
to access C libraries, and jruby only supports one: ffi.

Damian

[1] http://www.infoq.com/news/2008/12/ruby-ffi-on-mri-jruby
[2] http://blog.headius.com/2008/10/ffi-for-ruby-now-available.html


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Damian,
thanks for the quick clarification, just what I needed.

Cheers,

Alex Kotchnev

Damian S. wrote:

[1] and [2] explains roughly what’s going on. There are a number of ways
http://xircles.codehaus.org/manage_email


View this message in context:
http://www.nabble.com/JRuby-Rails-native-extensions-tp23407595p23409115.html
Sent from the JRuby - User mailing list archive at Nabble.com.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs