News for hackers. Stuff that matters.
Re:Building GitHub with Ruby on Rails by mrwnmonm on Friday April 07, 2023 @06:54AM (#35480278)
All the cool kids left Ruby for Go, why are they still in that land?
Re:Building GitHub with Ruby on Rails by rst on Friday April 07, 2023 @07:33AM (#35480528)
Because they care more about getting things done than whether clout-chasers think they're "cool".
Re:Building GitHub with Ruby on Rails by throwaway445232 on Saturday April 08, 2023 @03:21AM (#35491295)
you'd like go then.
Re:Building GitHub with Ruby on Rails by mrwnmonm on Sunday April 09, 2023 @07:25AM (#35501697)
I get things done just fine with Go. And all the code is very clear. With ruby it is not, and a lot of ruby programmers may have a feel about how things work, while they are not really. They just enjoy the syntax. The book "The Ruby Programming Language" which written by the creator or ruby (I forgot his name) is full of "unfortunately", unfortunately this works this way now, unfortunately that works that way now.

And people definitly chose ruby because it was cool. So what you said should be applied to Ruby, not Go.

Re:Building GitHub with Ruby on Rails by elif on Friday April 07, 2023 @08:44AM (#35481015)
Since they left ruby (2.0) raw rails performance improved by 75% (3.0)

https://www.fastruby.io/blog/assets/images/RRBPerfHistory_72...

Then in 3.2, ruby released YJIT which improved median rails response time by about 100%

https://raw.githubusercontent.com/easydatawarehousing/ruby_m...

It's kind of a golden era for rubyists that stuck it out. Beautiful maintainable code that hits C performance for many tasks.

Re:Building GitHub with Ruby on Rails by Alifatisk on Friday April 07, 2023 @08:59AM (#35481122)
"... hits C performance for many tasks"

Really?

Re:Building GitHub with Ruby on Rails by elif on Friday April 07, 2023 @10:40AM (#35482031)
particular improvements that come closer to C are related to string operations and regex

https://tomaszs2.medium.com/ruby-3-2-0-is-from-another-dimen...

Re:Building GitHub with Ruby on Rails by Alifatisk on Friday April 07, 2023 @10:56AM (#35482204)
Wow
Re:Building GitHub with Ruby on Rails by mrwnmonm on Sunday April 09, 2023 @07:26AM (#35501704)
Didn't know that, thanks for the update. Actually, now I want to give it a try, remembering my old romantic days.