5 ms·
All the cool kids left Ruby for Go, why are they still in that land?
by mrwnmonm 4y ago
All the cool kids left Ruby for Go, why are they still in that land?
- rst 4y agoBecause they care more about getting things done than whether clout-chasers think they're "cool".
- throwaway445232 4y ago[flagged]
- mrwnmonm 4y agoI 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.
- elif 4y agoSince they left ruby (2.0) raw rails performance improved by 75% (3.0) https://www.fastruby.io/blog/assets/images/RRBPerfHistory_720.png 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_measure_responsetime/main/data/rails_devise/plots/rails_devise_0_overview.png 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.
- Alifatisk 4y ago"... hits C performance for many tasks" Really?
- elif 4y agoparticular improvements that come closer to C are related to string operations and regex https://tomaszs2.medium.com/ruby-3-2-0-is-from-another-dimension-5249e3186ec9 https://tomaszs2.medium.com/ruby-3-2-0-is-from-another-dimen... here are some benchmarks from 2019 (ruby 2.5) related to string and regex operations. already certain operations were faster in ruby than C or go, particularly on longer strings. http://jultika.oulu.fi/files/nbnfioulu-202001201035.pdf http://jultika.oulu.fi/files/nbnfioulu-202001201035.pdf
- Alifatisk 4y agoWow
- mrwnmonm 4y agoDidn't know that, thanks for the update. Actually, now I want to give it a try, remembering my old romantic days.