---
title: "More performance improvements coming to Ruby 3.5"
publication: "Ruby Weekly"
issue: 751
published_at: "2025-05-22"
canonical_url: "https://rubyweekly.com/issues/751"
---

Plus we look at namespaces again, and get ready for Claude 4. |        

#​751 — May 22, 2025 

[Read on the Web](https://rubyweekly.com/issues/751)   

🖊️ A slightly shorter issue than usual this week as I've been on-site at Google I/O for the past couple of days (no Ruby related announcements there, alas!). Back to full speed once I'm home next week!
__
_Peter Cooper, your editor_ 

Together with [![FastRuby.io\](https://res.cloudinary.com/cpress/image/upload/c_fill,g_auto,w_467,h_106/e_make_transparent/co_white,e_outline:14/y65nyff19ylf5udphsq4.png)](https://go.fastruby.io/open-source-tools)   

Ruby Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/kf6flgimksc16locynk7.jpg)](https://railsatscale.com/2025-05-21-fast-allocations-in-ruby-3-5/)  

[Fast Allocations in Ruby 3.5](https://railsatscale.com/2025-05-21-fast-allocations-in-ruby-3-5/) — Tenderlove never rests! His latest post shows his work in Ruby 3.5 for slashing object‐allocation costs (up to 6× faster for keyword-heavy constructors). He walks us through the techniques behind this win and leaves us buzzing for 3.5’s eventual release later this year. 

Aaron Patterson   [![\](https://res.cloudinary.com/cpress/image/upload/c_limit,w_480,h_480,q_auto/copm/b4d0ffb5.png)](https://go.fastruby.io/open-source-tools) 

[Don’t Hire FastRuby to Upgrade Rails. Just DIY It 🚀](https://go.fastruby.io/open-source-tools) — What do `next_rails`, `skunk`, and [RailsBump.org](https://RailsBump.org) have in common? They're all open-source tools maintained by the [FastRuby](https://fastruby.io) team to help you ship your next Rails or Ruby upgrade. Check out 8 tools we use in real client work (free and ready to use). 

FastRuby.io | Rails Upgrade Experts sponsor   

[Ruby Namespaces 101](https://gist.github.com/fxn/86ad8584d7813caf03dac9222f8dcf41) — Last week we featured [a proposal to introduce virtual top-level namespaces](https://bugs.ruby-lang.org/issues/21311) to Ruby, and Xavier Noria has put together a more accessible digest of what they are, how they work, and how you can actually give them a try for yourself in an early form. 

Xavier Noria   

**IN BRIEF:** 

- Microsoft has unveiled [a new Postgres extension for VS Code.](https://techcommunity.microsoft.com/blog/adforpostgresql/announcing-a-new-ide-for-postgresql-in-vs-code-from-microsoft/4414648) It brings IntelliSense completion to queries, GitHub Copilot integration, a visual way to explore your schemas, and more.
- [Ruby Central has shared its latest monthly update](https://rubycentral.org/news/ruby-centrals-oss-changelog-may-2025/) with a focus on what happened at RubyKaigi and some RubyGems updates.
- Rails ecommerce framework [Solidus](https://github.com/solidusio/solidus) has been with us for a decade, and now its [just hit a milestone of 3 million downloads](https://supergood.software/solidus-hits-3-million-downloads/).
- [There's an initial roadmap for Bundler 4](https://github.com/rubygems/rubygems/issues/8650), expected to land later this year.
- 🇳🇱 _Rails World_ has shared [its final speaker lineup.](https://rubyonrails.org/world/2025/speakers)   

[It’s `TRUE`, SQL Supports Booleans](https://railsatscale.com/2025-05-21-it-s-true-sql-supports-booleans/) — A tip for doing things in Active Record in a way that’ll work across database implementations. 

Hartley McGuire   

[Managing Postgres Table Partitioning in Ruby](https://www.honeybadger.io/blog/pg-partition-manager/) — If your app uses a _lot_ of data, Postgres’s table partitioning can offer a simple, transparent-to-Rails way to avoid many associated large data performance issues. Honeybadger has also created a gem to make it even easier to manage. 

Benjamin Curtis (Honeybadger)   

[Don’t Measure What's Easy. Measure What Matters](https://link.testdouble.com/6afe66) — Imagine Lord Business stops obsessing over story points. Data informs decisions—instead of controlling people. 

Test Double sponsor   

📺 [An Introduction to Functional Ruby](https://www.youtube.com/watch?v=Y-qSi5Utgz8) – A 20-minute talk from this year’s _Functional Conf_ that explores Ruby from a functional programming perspective. Keith Bennett 

📄 [How to Get Composite Keys to Play with Rails View Helpers](https://thoughtbot.com/blog/how-to-get-composite-keys-to-play-with-rails-view-helpers) Joël Quenneville 

📄 [Rails Controller Callback Order with Concerns](https://kevinjmurphy.com/posts/rails-controller-callback-order-with-concerns/) Kevin Murphy 

📄 [Getting Answers from a Big PDF with RubyLLM](https://max.engineer/giant-pdf-llm) – And by “big”, Max is referring to PDFs large enough to not fit into usual context windows. Max Chernyak 

📄 [Adding 'Sign in with Apple' to Rails Apps](https://avohq.io/blog/sign-in-with-apple-rails) Exequiel Rozas  

🛠 Code & Tools  

[OSV: A High Performance CSV Parsing Library](https://github.com/njaremko/osv) — OSV brings [a popular Rust-powered CSV parser](https://github.com/BurntSushi/rust-csv) to the Ruby world and boasts significantly faster performer than Ruby’s own [csv.](https://github.com/ruby/csv) It’s highly configurable, supports numerous input sources (file paths, gzipped files, IO objects, strings), hash and array output formats, whitespace trimming options, and more. 

Nathan Jaremko   

🤖 [Anthropic SDK for Ruby v1.0](https://github.com/anthropics/anthropic-sdk-ruby) — An official Ruby library for [Anthropic’s various APIs](https://www.anthropic.com/api) to work with its popular Claude LLMs. 

Anthropic   

💡 Word on the street is Anthropic's [about to drop Claude 4](https://venturebeat.com/ai/time-magazine-appears-to-accidentally-publish-embargoed-story-confirming-anthropic-claude-4-opus/) in the next few hours, so it'll be great to have an official way to work with it from Ruby.  

[🧠 Smart Augmentation: It's Not Always About Scaling the Team](https://sinaptia.dev/posts/smart-augmentation-its-not-always-about-scaling-the-team) — How we helped a client achieve a shorter cycle time, lower infra costs and an improved communication. 

SINAPTIA sponsor   

- [Rage 1.16](https://github.com/rage-rb/rage/releases/tag/v1.16.0) – HTTP API framework compatible with Rails. v1.16 adds a new WebSocket protocol:`RawWebSocketJson`.
- [ViewComponent 3.23](https://github.com/ViewComponent/view_component) – Build encapsulated view components in Rails.
- [Rabarber 5.0](https://github.com/brownboxdev/rabarber) – Role-based authorization library for Rails.
- [ruby-git (The Git Gem) 3.1](https://github.com/ruby-git/ruby-git) – Wraps calls to the `git`command.
- [RDoc 6.14](https://github.com/ruby/rdoc/releases/tag/v6.14.0) – Ruby's long standing documentation generator.
- [Meilisearch Rails 0.16](https://github.com/meilisearch/meilisearch-rails) – Meilisearch integration for Rails.
- [MockRedis 0.50](https://github.com/sds/mock_redis) – A fake Redis in Ruby for your tests.  

😎 Did You Know..?   

_Ruby Weekly_ was our first ever newsletter, starting back in 2010, but over the years we've branched out to publish a variety of other newsletters you might not know about. You can see the very latest issues of each directly on their homepages: 

🔵 [Go Weekly](https://golangweekly.com) is our regular check in with what's going on in the world of Go. 

💛 [JavaScript Weekly](https://javascriptweekly.com/), unsurprisingly, covers all things JavaScript — but also the JS ecosystem more broadly, including TypeScript, WebAssembly, Vue.js, and more. 

⚛️ Adjacent to JS is [React Status](https://react.statuscode.com/), covering the React and React Native world, and [Node Weekly](https://nodeweekly.com/) which goes deeper into Node.js, the npm ecosystem, and other server-side JS runtimes like Deno and Bun. 

👩‍💻 [Frontend Focus](https://frontendfoc.us/) covers everything that appears browser-side! CSS, HTML, accessibility, WebGPU, browser updates – it's all in there. 

🐘 Last, but not least, [Postgres Weekly](https://postgresweekly.com/) rounds out the family. It's the smallest newsletter, but always packed with great stuff as the Postgres ecosystem punches above its weight in terms of news and interesting releases. [Its latest issue](https://postgresweekly.com/issues/601) came out just a couple of hours ago. 

__
_Peter Cooper, your editor_         

Curated by [Peter Cooper](https://twitter.com/cooperx86) and [Glenn Goodrich](https://twitter.com/ruprict).
Published by [Cooperpress](https://cooperpress.com/). 

[Change your email](https://rubyweekly.com/edit_subscription/*|UID|*) or [Stop getting this newsletter.](https://rubyweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom 

Other weekly newsletters we publish include [Postgres Weekly](https://postgresweekly.com/), [React Status](https://react.statuscode.com/), [Frontend Focus](https://frontendfoc.us/), and [JavaScript Weekly](https://javascriptweekly.com/).
