Ruby 4.0.0 Released

66 points by havenwood


zverok

The annotated, explained changelog from my Ruby Changes project.

As per the project goals statement:

rsanheim

Love the simple, boring dev focused improvements: smarter backtraces, moving pathname and set into core, “ #instance_variables_to_inspect ”, ruby top level constant, and of course ZIT. it looks like ZIT will be the future of continual performance improvements we’ve seen with every major ruby version bump.

I still don’t really understand the concurrency story with ractors and fibers, I really wish there was something more first class like actors or goroutines/channels. But it’s fine, I use concurrent-ruby for complex things or parallel ruby for simple stuff.l

The biggest improvement I want is multi platform distribution via whatever means required, and faster bundler. Those are really hurting more as command line tools become even more important in this ai/agentic age.