Rails current attributes https://hsps.in/post/rails-current-attributes/
Rails current attributes https://hsps.in/post/rails-current-attributes/
Andrej Karpathy: Software Is Changing (Again)
https://www.youtube.com/watch?v=LCEmiRjPEtQ&ab_channel=YCombinator
ZJIT has been merged into Ruby
https://railsatscale.com/2025-05-14-merge-zjit/
"ZJIT is a new just-in-time (JIT) Ruby compiler built into the reference Ruby implementation, YARV, by the same compiler group that brought you YJIT."
Inline RBS comments support for Sorbet
Sorbet now has (experimental) support for RBS comments for adding types to methods. Now the major type checkers for ruby are all converging towards RBS for annotations, and this could be huge for the future of types in Ruby!
"My team's intern just found a critical bug by shitposting in our codebase" 😂😂😂
https://www.reddit.com/r/csMajors/comments/1i7v7hg/my_teams_intern_just_found_a_critical_bug_by/
@todd_a_jacobs concurrent-ruby as a whole has too much surface area to fit in as a bundled gem, IMO. But it would be nice to see some parts of it selectively incorporated into the stdlib.
@todd_a_jacobs Frozen strings just emit warnings for now. It's going to be a long time before most libraries are ready for frozen strings by default.
Right now, I think ractors getting stable and adopted is the best hope for multi core. But even that is probably years away.
So You Want To Remove The GVL From Ruby?
https://byroot.github.io/ruby/performance/2025/01/29/so-you-want-to-remove-the-gvl.html
A simple trick to understand Ruby’s lazy enumerator
https://joyofrails.com/articles/simple-trick-to-understand-ruby-lazy-enumerator
Beautiful visual demo of how lazy enumerators help avoid unnecessary work.
@cosmin sqlite on rails had had some massive improvements in the past year, and should easily handle smaller apps. In fact Basecamp's campfire app now uses sqlite.
Highly recommend this write-up by @fractaledmind and his railsconf talk to see how well it performs out of the box with rails now.
https://fractaledmind.github.io/2024/04/15/sqlite-on-rails-the-how-and-why-of-optimal-performance/
Admittedly, these are small apps (largest is < 3k LOC) and I kinda cheated by having a script that does the version bumps, but even then it's a good sign about how stable things are right now!
What’s new in Ruby 3.4, by @nithinbekal
https://nithinbekal.com/posts/ruby-3-4/
> A new version of Ruby is released every year on Christmas day. The 3.4 release will be out next week, so I’ve been playing around with the release candidate. Here are some of the features I found interesting.
What's new in Ruby 3.4
https://nithinbekal.com/posts/ruby-3-4/
The next release of Ruby is just a week away. Dive into the latest features, including the new it block parameter, chilled strings, the Prism parser, and modular GC.
I've been using sorbet for work for a while now, so the `@rbs` syntax doesn't seem like too much overhead, but the inline comments might be popular with folks who like terseness.