r/programming • • Dec 25 '19

Ruby 2.7.0 released

https://www.ruby-lang.org/en/news/2019/12/25/ruby-2-7-0-released/
72 Upvotes

46 comments sorted by

View all comments

Show parent comments

10

u/AlexKotik Dec 25 '19

In my experience Python is slightly faster than Ruby in general. However both of these languages should have a proper JIT implementations like 10 years ago.

2

u/xtreak Dec 26 '19

Python has PyPy.

2

u/thepotatochronicles Dec 25 '19

Many people apparently agree, which is why there are "legit" JIT implementations like JRuby and PyPy, and some BLAZING FAST (but still in RC) JIT implementations like TruffleRuby

2

u/myringotomy Dec 25 '19

Ruby does have a JIT now. Also it has been faster than python in every test I have run for a couple of years.

2

u/AlexKotik Dec 26 '19

I believe JIT in Ruby is still considered experimental feature, even in the latest 2.7.0 release.