#rubyperformance — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #rubyperformance, aggregated by home.social.
-
How Ruby executes JIT code
#HackerNews #Ruby #JIT #JITCompilation #SoftwareDevelopment #ProgrammingTech #RubyPerformance
-
🚀🎩 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 -
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?