5 ms·
It's still the Ruby language, just a different run-time environment.
by Pharohbot 12y ago
It's still the Ruby language, just a different run-time environment.
- kolev 12y agoA language without the ecosystem is just sugar.
- code_reuse 12y agothe ecosystem is there, I think you're confused... the libraries work, this is the best runtime environment for a Ruby on Rails app.. which is Ruby's killer app..
- kolev 12y agoYes, it is there, but do all RubyGems work with JRuby?
- dragonwriter 12y agoThere are gems that work only with JRuby. There are gems that work with any source-compatible implementation (MRI, JRuby, Rubinius, etc.), there are gems that work with any Ruby which supports the FFI (at least, again, MRI, JRuby, and Rubinius). There is no implementation (or implementation/platform combination -- MRI on windows supports a different set of gems than MRI on linux) that supports all gems.
- kolev 12y agoThat was my point - there are two ecosystems with something shared, but you always need to be aware of the differences. I think in the future the JVM can offer better integration with native libraries. I'm not familiar with the details, I know JNI was a pain, I know there's JNA and JNR now and I just found this: http://openjdk.java.net/jeps/191 http://openjdk.java.net/jeps/191
- dragonwriter 12y agoJRuby has access to the vast majority of the Ruby ecosystem and all of the Java ecosystem. If anything, it has a stronger overall ecosystem than MRI.