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

That's the same reason I use JRuby so heavily - I can use the entire Java ecosystem, while claiming the productivity benefits of Ruby.


Same for myself and Clojure. Better coding productivity, easy Java interop for more libraries, and the deployment story is a no-brainer.


Me too. What I like about Clojure (and other JVM languages) is that I can choose how much I want to take part in the JVM ecosystem. There is usually a spectrum from pure-clojure <---> clojure-wrapping-java <--> pure java and I get to choose where on that spectrum I want to or need to be based on the needs of my project.

Since the Java ecosystem is huge, this gives me a lot of confidence that most of my needs will be met by existing tools.


I haven't done much with the other JVM languages except play around with them (did work with a small jython project about 10 years ago...). Have you encountered any impedance mismatch? Or weird cross language bugs?


JRuby converts values (Java primitives <-> ruby Numeric, java.lang.String <-> ruby String, etc.) sometimes with unexpected results.

JRuby does not wrap primitive values, or provide values that behave like primitives, but you can add that: https://rubygems.org/gems/infraruby-java




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

Search: