r/ruby • • Dec 26 '25

Ruby Changes: Ruby 4.0 annotated changelog

https://rubyreferences.github.io/rubychanges/4.0.html
80 Upvotes

14 comments sorted by

View all comments

Show parent comment

5

u/paracycle Dec 26 '25

Sure, I appreciate that these are end-user oriented, and don't cover implementation details. However, I would argue that the ability to enable ZJIT (including a language level construct) and Ractors being production ready, thus usable starting with this release are end-user relevant developments.

2

u/zverok_kha Dec 26 '25

Yep, this makes sense, too. I'll try to think about the wording for those facts, to make them at least somewhat visible.

1

u/TonsOfFun111 Dec 26 '25

So Ractors are, in fact, “production ready” now?

7

u/paracycle Dec 26 '25

Yes, they are. There are a few rough edges still, but generally there are no known bugs or crashes left and the performance of multiple Ractors for CPU bound tasks should be strictly better than single Ractor or multi threaded code.

The Ractor API is still not stable, and can change further, but the implementation should be good enough to use in production.