r/ruby
•
u/geospeck
•
May 08 '26
•
1
Formatting an entire 25 million line codebase overnight: the rubyfmt story
https://stripe.dev/blog/formatting-an-entire-25-million-line-codebase-overnight-the-rubyfmt-story
33
Upvotes
10
u/nateberkopec Puma maintainer May 08 '26
42... million... lines. That is crazy.
The Gusto monolith is like 2 million, and the Shopify monolith was like 5 million IIRC?
9
u/eregontp truffleruby May 08 '26
Ruby actually starts up much faster:
(Ruby 4.0.3 on a MacBook Pro M4 Max)
The 158ms is most likely rbenv shims adding ~100ms: https://bsky.app/profile/eregon.me/post/3mkijfs7wg22o
6
u/saw_wave_dave May 08 '26
Stripe is still on Ruby 2.7?
5
u/cocotheape May 08 '26
Anyone has insight about the compatibility of
rubyfmtwithstandardrb?2
u/SuPrioLa May 08 '26
How does it play with rubocop?
1
u/luscious_lobster May 08 '26
I’m confused. The repo says it’s no longer being actively developed