Ruby Box is the Ruby 4.0 feature worth watching if you maintain gems. It lets code reopen a core class like String inside a box, so the patched method exists there and nowhere else. Monkey patching that stays where you put it instead of leaking into every app that loads you. Opt in, so nothing shifts until you ask for it. https://go.fastruby.io/p6u #Ruby #RubyPerformance #RubyUpgrade
#rubyperformance — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #rubyperformance, aggregated by home.social.
-
-
👨💻 Ruby's #JIT mysteries unveiled! Spoiler: it's just a fancy way to say "we made it magically faster"—or so they claim. 🤔 Meanwhile, mere mortals like us are left to ponder what all these acronyms mean while our #Ruby apps take their sweet time to load. 🚀✨
https://railsatscale.com/2025-09-08-how-ruby-executes-jit-code-the-hidden-mechanics-behind-the-magic/ #RubyPerformance #TechMysteries #SoftwareDevelopment #RubyOnRails #HackerNews #ngated -
-
🚀🎩 Behold, a Ruby wizard pulls a sleight of hand to make Ruby faster than itself by... not actually using Ruby! 🤯✨ In a groundbreaking revelation, if you don’t run your code, it’s infinitely faster! Next up, how to win a marathon by standing still. 🏃♂️💨
https://noteflakes.com/articles/2025-08-18-how-to-make-ruby-faster #RubyPerformance #MagicTricks #CodingHumor #HackerNews #Innovation #HackerNews #ngated -
Hi Rails developers, if you want to boost your Rails app's performance then this article provides a clear, up-to-date guide on Structs and Classes in Ruby 3.4.2. Discover how to choose the right data structure for optimal speed and write more efficient, maintainable code.
Read it here: https://reinteractive.com/articles/ruby-performance-structs-classes
#Rails #rubyonrails #RubyPerformance #SoftwareDevelopment #CodingTips #reinteractive
-
What do Ruby folks mean when they say "using Ruby code generation for performance optimization"? Does "code generation" mean meta programming? Do you know a (simple) example where Ruby code generation is used as a strategy for optimization?
-
🐢 Is you @rails app sloooow and you don’t know why?
Get to the heart of the problem with our Tune Report. Invest in a comprehensive long-term performance plan 👉 https://go.fastruby.io/9a1
Let's talk! 🚀
-
I'm working on some updates to my Torid gem - and thinking about performance. I now have the situation where I have 2 implementations of the same function, one that is more performant when JIT is enabled, and one that is more performant, when JIT is not enabled.
Thoughts on how to manage this? Should I ship both with a load/parse time switch that detects if jit is enabled and then uses the right one? Just ship the jit one, just ship the base one?
-
🐢 Is you @rails app sloooow and you don’t know why?
Get to the heart of the problem with our Tune Report. Invest in a comprehensive long-term performance plan 👉 https://www.fastruby.io/tune?utm_source=twitter&utm_medium=organic&utm_campaign=intent-drive-landing-promo&utm_term=slow-rails
Let's talk! 🚀