6 ms·
JRuby really is a different language than Ruby. Not only is it built on a different ecosystem of libraries (anything on the JVM vs anything for Ruby) but there
by wheaties 14y ago
JRuby really is a different language than Ruby. Not only is it built on a different ecosystem of libraries (anything on the JVM vs anything for Ruby) but there are language extensions that make it operate differently (Java MBeans being one of them.)
- igouy 14y agoThe JRuby measurements shown on the benchmarks game website are for plain Ruby programs without any language extensions, but using -Xcompile.invokedynamic=true
- masklinn 14y ago> JRuby really is a different language than Ruby. No, JRuby is a JVM-based implementation of Ruby. > Not only is it built on a different ecosystem of libraries (anything on the JVM vs anything for Ruby) Irrelevant, you can make the same claim about any impementation of a language: GHC has extensions to Haskell, why isn't JHC benched as well? IronPython can use .Net libraries but not Python C-API libraries, why isn't it there? > there are language extensions Which are not used in the shootout and — again – are irrelevant anyway.