|
|
|
|
|
by stormbrew
4219 days ago
|
|
I really doubt jruby will ever become the main ruby implementation, as awesome as it is. The fact is that too much of the ruby ecosystem is built on calling out to C, and jruby officially abandoned cext shimming a while back. And while ffi is good, it's often not nearly as flexible. There's also the fact that because of slow startup times, the modify/test cycle can be quite frustrating compared to working with MRI. The truth is that the vast majority of ruby applications never reach a point where the steady-state post-warmup performance of jruby with pure ruby outweighs the fast-startup moderate performance of mri+cexts. And ones that do reach that point often have a better case for moving to something else anyways (including other jvm technologies that can now be shimmed on via jruby and eventually replace the whole thing). |
|
Jruby + truffle + cext, however is becoming a possibility.
http://www.chrisseaton.com/rubytruffle/cext/