Why the Release of Ruby 3 Will Be Monumental(ruby3.dev)
ruby3.dev
Why the Release of Ruby 3 Will Be Monumental
https://www.ruby3.dev/the-art-of-code/2020/11/12/ruby-3-monumental/
5 comments
> But can anyone say with a straight face that, all things being equal, PHP is a “superior” programming language to Ruby? Can anyone say that Python—taken as a whole—is more suited to building a website than Ruby is?
I wish the article showed me something to try to convince me. There's lots of words, but not much content.
I wish the article showed me something to try to convince me. There's lots of words, but not much content.
> But at this point, Ruby is plenty fast as compared to many other “scripting” languages. Most of the time it’s on par with Python.
Being "on par with Python" performance-wise is not something to brag about.
Being "on par with Python" performance-wise is not something to brag about.
TL;DR "Ruby 3 is an exciting update with lots of new features—yet [the post talks about none of them]"
So is this going to be a repeat of Python where Python 3 was not compatible with Python 2?
No, Matz saw what happen to Python 3 and dont want that to happen.
Personally I think Both side has taken a little bit of extreme. Python 3 offer very little benefits to v2 while being incompatible. Ruby 3 is holding off many changes due to compatibility.
Personally I think Both side has taken a little bit of extreme. Python 3 offer very little benefits to v2 while being incompatible. Ruby 3 is holding off many changes due to compatibility.
Thankfully not…some gems will need minor updates but for the most part there's not much about v3 that breaks code written for v2.
I went through the same stages as many people of trying out the new hotness, but I always come back to Ruby. Most recently I had a need to write a bunch of different Prometheus exporters for my home dashboard. I tried ~n languages, and most of the popular exporters are written in Go. But it was so, so easy to just write them in Ruby.
Lots of people focus so heavily on performance of the interpreter but it's honestly fast enough for most tasks. And there's a lot you can do to improve your code before you hit the limits of the interpreter. My job is at least 50% working on awkward performance issues at GitLab and I still learn new things all the time. And I have fun doing it.
Ruby is still so much fun. Thank you to everyone who has made it what it is.