Live data from Hacker News

Ruby 2.5.0 Released

ruby-lang.org

11–20 of 113 posts

Re: Ruby 2.5.0 Released

#11
When I discovered Ruby 12 years ago, it was an amazing moment. All the features I loved from my previous favorite languages Perl, Smalltalk, and Scheme in one place, but with a much more reasonable syntax, a far more robust standard library, a complete and dead-simple packaging system, and a practical and portable runtime. The fact that it still feels magical, fun, practical, and pragmatic all at the same time while progressing and improving step by step each release after all these years is a truly amazing feat, especially when you compare it to its peers.

So congratulation and thanks to Matz, and all the other Ruby contributors for creating and maintaining and growing and improving this amazing language that's still my favorite. 2.5 looks great, and I can't wait to see what's in store for the future.

Re: Ruby 2.5.0 Released

#12
i loved ruby and i still do but my focus has now shifted to scheme/clojure and lisp family dialects like racket, and i don’t see a reason to return or move to anything else it feels like my search is over.

Re: Ruby 2.5.0 Released

#14
post #8

rescue on do blocks!!! Wooooo. Merry Christmas! Ruby is a joy to use.

Can’t beat reversing the backtrace output for making Ruby even more enjoyable. Slogging up through a huge pile of calls was one of the few things that drove me mad.

Just need to rework all these

e.backtrace.first lines to e.backtrace.last

Or maybe my favorite which is still good

puts “#{e.message} #{e.backtrace.join(“\n”)}”

Re: Ruby 2.5.0 Released

#16

Nice to see the 3x3 work continuing to go well with that 5-10% speed up. For anyone who hasn’t seen it, Ruby declared a target for Ruby 3.0 to be 3x faster than 2.0. http://engineering.appfolio.com/appfolio-engineering/2015/11...

What particular speed improvements do we expect from 2.5.0 release? String interpolation speedup?

Re: Ruby 2.5.0 Released

#17

Nice to see the 3x3 work continuing to go well with that 5-10% speed up. For anyone who hasn’t seen it, Ruby declared a target for Ruby 3.0 to be 3x faster than 2.0. http://engineering.appfolio.com/appfolio-engineering/2015/11...

What particular speed improvements do we expect from 2.5.0 release? String interpolation speedup?

ERB generation should be a lot faster, which will be a boon for a lot of Rails apps, and according to the release notes there's a 5-10% performance improvement overall from removing all trace instructions from bytecode.

Re: Ruby 2.5.0 Released

#18
Was waiting for this!! Super happy about this. I’ve come to expect this every year now at this time.

Ruby is still one of the most productive languages out there. I just love it. It gives me great joy that 10 years ago I chose Ruby to be the language for my future.

My wish this coming year is to be able to contribute more to the Ruby ecosystem.

Btw I’ve also built something using MRuby this year. The whole ecosystem is just great.

Re: Ruby 2.5.0 Released

#19

Earlier quoted context omitted.

What particular speed improvements do we expect from 2.5.0 release? String interpolation speedup?

ERB generation should be a lot faster, which will be a boon for a lot of Rails apps, and according to the release notes there's a 5-10% performance improvement overall from removing all trace instructions from bytecode.

Rails has not used the stdlib ERB implementation for a long time. As of 5.1 it uses erubi [0] and prior to that it used erubis. [1] So the performance improvements to the stdlib ERB implementation will not affect rails apps.

[0] https://github.com/rails/rails/pull/27757 [1] https://github.com/rails/rails/pull/16773

Re: Ruby 2.5.0 Released

#20
post #7

I started using Ruby only in April this year due to starting at a new job. Having used and/or dabbled in C, Java, Python and Haskell before (amongst others), I find it super interesting to see how Ruby manages to take some interesting parts from each and manages to integrate it into a very pleasant programming experience. Also the rspec testing library is nothing short of magic, none of the compiled languages have an…

Cool which libcurl bindings are you using?
Post reply on HN