4 ms·
Yes [1]. Invokedynamic (JSR-262). Quote from an older article [2]: "... enable[s] implementers of compilers for dynamically typed languages, that is, the peopl
by ghotli 15y ago
Yes [1]. Invokedynamic (JSR-262). Quote from an older article [2]:
"... enable[s] implementers of compilers for dynamically typed languages, that is, the people who develop compilers for languages such as JRuby and Jython, to generate bytecode that runs extremely fast in the JVM."
[1] http://blogs.oracle.com/jrose/entry/jsr_292_launched_in_java http://blogs.oracle.com/jrose/entry/jsr_292_launched_in_java
[2] http://java.sun.com/developer/technicalArticles/DynTypeLang/index.html http://java.sun.com/developer/technicalArticles/DynTypeLang/...
- gvkv 15y agoWhoo-hoo! Time for the Perl port.
- deleted 15y ago[deleted]
- peterb 15y agoIndeed, As Charles Nutter (JRuby) wrote: "There’s a very real chance that invokedynamic could improve JRuby performance many times, putting us on par with our statically-typed brothers like Java and Scala. And that means you can write Ruby code without fear. Awesome." http://www.engineyard.com/blog/2011/jruby-1-6-released-now-what/ http://www.engineyard.com/blog/2011/jruby-1-6-released-now-w...
- jamesgeck0 15y agoSo invokedynamic is already wired into JRuby? I can just install the Java 7 runtime and see significant performance improvements?
- peterb 15y agoJRuby 1.7 has the major Invokedynamic changes. You can play with trunk for now.