开发者

Jruby, What popular ruby gems use C under the hood?

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.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜