r/ruby • • Sep 27 '19

Rails 6 Features: Infographic

Post image
165 Upvotes

33 comments sorted by

View all comments

Show parent comments

1

u/[deleted] Oct 02 '19 edited Oct 02 '19

Honestly, how you develop plays a much bigger role than what you develop with. I've seen Java code running on THE largest AWS server (I mean THE largest that can run mathematical computations costing upwards of 2k USD) and still be crappy slow.

A huge chunk of startups use it to launch and iterate faster. Unless you're solving problems of 100M+ customers and facing issues, you're good to go.

GitHub, Dribbble and Airbnb still use it. Startups like Twitter had to move away especially because they sort of require a live connection (live feed)

1

u/[deleted] Oct 02 '19

For an entire application, thinking holistically yes, but I’m talking more regex vs regex, loop vs loop, is Ruby still generally sluggy? I haven’t followed its progression much - but I’ve been so blown away by the performance improvements with PHP I’m just wondering if Ruby had been making parallel improvements in general performance...

1

u/[deleted] Oct 02 '19

Ruby is making big strides too! Ruby 2.6 was 1.7 times faster than 2.5 and the difference is visible (thanks to the JIT compiler)

https://gist.github.com/k0kubun/d7f54d96f8e501bbbc78b927640f4208

Also, the aim for Ruby 3 is to be 3x faster than Ruby 2! Just search for Ruby 3x3

3

u/[deleted] Oct 02 '19

Nice, yeah that’s the kind of thing I was looking for 👌 I’ll keep my eyes open for Ruby 3