Hacker News new | ask | show | jobs
by splitrocket 2116 days ago
The goal of Ruby v3 is to be 3 times faster than v2.

https://blog.heroku.com/ruby-3-by-3/

Unclear if that goal has been achieved.

4 comments

notice the "3x3" goal is on a specific benchmark (optcarrot), not on all workloads.
There's no such thing as a performance measurement "on all workloads".
A lot of focus has been on this benchmark https://github.com/mame/optcarrot/ It has seen huge performance improvements thanks to the mjit but not quite 3x yet.
Not up-to-date but many more ruby 3x3 articles, see https://planetruby.github.io/calendar/ruby3x3
Performance is more of an implementation level change rather than a language change unless they are restricting the language to facilitate new optimisations.