From what I understand, to use Jruby you basically convert the project to a .jar and deploy to tomcat etc.
But you can't use any gems that are written in c correct?
Which popular gems use c under the hood that I sho开发者_JAVA技巧uld look out for?
Any other incompatibilities?
But you can't use any gems that are written in c correct?
Yet, but JRuby 1.6 (currently in RC1) adds experimental support for C extensions.
Which popular gems use c under the hood that I should look out for?
Several Gems have JAVA alternatives or native implementation, such as Nokogiri. Which Gem really depends on your project: God, Bcrypt-Ruby, etc.
- BlueCloth is a reasonably-popular gem that is written in C.
- The pg gem providing native PostgreSQL support is also rather popular.
精彩评论