Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A silly question: Can I call jruby or jirb with something like classpath?

I don't want to lose my java applet for firefox,(ubuntu 11.04 64 bits,four-cores).

I would also like to see some comparison, for example like in the computer benchmark game between jruby and other ruby implementations.

What about clojure and scala? will they get a speed up with the new java 7 update? , Will it be three-fold like jruby (in certain cases?). Thanks for the great work on jruby. Being more dynamic is great!



   $ man update-java-alternatives 
  
  --jre  
    Limit the actions to alternatives belong to a  runtime  environment, not a development kit.
  --jre-headless  
    Limit the actions to alternatives belong to the headless part of a runtime environment.
  --plugin
    Limit the actions to alternatives providing browser plugins.


You can certainly just call JRuby directly with the 'java' command, or just set your environment to point at the Java 7 install only when you need it, rather than forcing your whole environment to use Java 7 by default.

I imagine the computer benchmarks game will update when we have a release of JRuby 1.7 out, sometime early 2012. If someone else wants to do some benchmark runs, I have no objection.

As for Clojure and Scala...they may see modest improvements from Java 7, but neither of them use invokedynamic at all. The biggest boost for JRuby comes from invokedynamic.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: