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

Yes, GraalVM is built on HotSpot so it can run all bytecode languages too.


Cool thanks. Keen to try it with Scala and Clojure. Curious to know, How effective would be it's JIT compared to HotSpot ? Any pointers ?


There are research papers that discuss this. It depends a lot on the bytecode patterns. For Java it's usually as good as the current JITC unless you're relying heavily on auto vectorisation. For Scala it's about a 10% win on open source or a 20% win for enterprise Graal, according to Twitter at least.

For Clojure I don't know. But from what I understand Clojure produces quite inefficient bytecode, so it may benefit a lot.




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

Search: