News for hackers. Stuff that matters.
Re:Tiny JITs for a Faster FFI by ksec on Thursday February 13, 2025 @10:14AM (#43036662)
The CRuby VM, or the CRuby interpreter alone is at least 2-3x faster since Fail Whale time. And JIT doubles that to 4 - 6x. Rails itself also gotten 1.5x to 2x faster.

And then you have CPU that is 20 - 30x faster compared to 2009. SSD that is 100x - 1000x faster, Database that is much more battle tested and far easier to scale.

Sometimes I wonder, may be we could remake twitter with Rails again to see how well it goes.

Re:Tiny JITs for a Faster FFI by caiusdurling on Thursday February 13, 2025 @11:29AM (#43037706)
> Sometimes I wonder, may be we could remake twitter with Rails again to see how well it goes.

Mastodon is written in Ruby on Rails (:

Re:Tiny JITs for a Faster FFI by johnmaguire on Thursday February 13, 2025 @11:41AM (#43037895)
Maybe not the best testimonial. From what I've heard, Mastodon is a bit of a beast to scale. While some of this is probably due to ActivityPub (a la https://lucumr.pocoo.org/2022/11/14/scaling-mastodon/) itself, some of it may be related to Ruby's execution model: https://lukas.zapletalovi.com/posts/2022/why-mastodon-instan...

My issue with Ruby (and Rails) has always been the "ball of mud" problem that I feel originates from its extensive use of syntactical sugar and automagic.