Is there an advantage to running JRuby if you don't know any Java?

后端 未结 5 648
被撕碎了的回忆
被撕碎了的回忆 2021-02-04 00:46

I\'ve heard great things about JRuby and I know you can run it without knowing any Java. My development skills are strong, Java is just not one of the tools I know. It\'s a mass

5条回答
  •  无人共我
    2021-02-04 01:10

    The latest releases are significantly faster than Ruby but also use significantly more memory. If that is your only reason for using JRuby, I wouldn't bother unless you have a specific performance need that it solves, simply because, while it is pretty popular, it is less standard for hosting and less people use it as compared to standard Ruby. That being said, there are many other reasons to use JRuby such as a need for interoperability with existing Java code and the need to deploy in environments where Java has been "blessed" by the operations department and Ruby has not.

提交回复
热议问题