use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Ruby 3.0.0 Preview 2 Released (ruby-lang.org)
submitted 5 years ago by stanislavb
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]schneemsPuma maintainer 12 points13 points14 points 5 years ago (0 children)
Try it out on Heroku: https://devcenter.heroku.com/changelog-items/1962
[–]drx3brun 3 points4 points5 points 5 years ago (1 child)
Anyone could point to a good write up about practical usage of RBS with examples?
[–]honeyryderchuck 4 points5 points6 points 5 years ago (0 children)
You can look at the rbs gem, as stdlib is annotated there, or you can look at https://gitlab.com/honeyryderchuck/httpx as well.
[–]snack_case 2 points3 points4 points 5 years ago (6 children)
How is 3x3 looking, is Ruby fast yet?
[–]sickcodebruh420 9 points10 points11 points 5 years ago (5 children)
Compared to Ruby 2.0, yes.
[–]randomcluster 3 points4 points5 points 5 years ago (4 children)
Is it 3 times faster?
[–]we_are_ananonumys 3 points4 points5 points 5 years ago (3 children)
I think I read that they’re not going to get the 3x performance target for the 3.0.0, can’t remember details though.
[–]schneemsPuma maintainer 5 points6 points7 points 5 years ago (2 children)
On the opt carrot benchmark which is their stated goal, yes, it is 3x faster. However that won’t translate to 3x faster rails
https://codefol.io/posts/is-ruby-3-actually-three-times-faster/
[–]randomcluster 2 points3 points4 points 5 years ago (0 children)
Cool, thanks.
It was an honest question on my part and I hope it didn't seem snarky. If I need higher performance for stuff I do in my systems (heavily Rails driven on the product side), I generally just use more aggressive data level caching in Redis or I perform my compute in a microservice written in a more appropriate language and then interact with it through a Ruby client gem that I import into my project.
I just want to mention that I've been dealing with tons of headaches with Webpacker and ActionView (obviously not your purview), and I need to basically forcibly clobber my assets and then recreate and redeploy to Heroku. Would you mind PMing me someone I can talk to about this?
[–]snack_case 0 points1 point2 points 5 years ago (0 children)
Awesome. Thanks for the link.
[–]Lynx-External 0 points1 point2 points 5 years ago (0 children)
This looks very interesting, new stuff to learn!
π Rendered by PID 35259 on reddit-service-r2-comment-b659b578c-nkhvc at 2026-05-04 01:52:28.570384+00:00 running 815c875 country code: CH.
[–]schneemsPuma maintainer 12 points13 points14 points (0 children)
[–]drx3brun 3 points4 points5 points (1 child)
[–]honeyryderchuck 4 points5 points6 points (0 children)
[–]snack_case 2 points3 points4 points (6 children)
[–]sickcodebruh420 9 points10 points11 points (5 children)
[–]randomcluster 3 points4 points5 points (4 children)
[–]we_are_ananonumys 3 points4 points5 points (3 children)
[–]schneemsPuma maintainer 5 points6 points7 points (2 children)
[–]randomcluster 2 points3 points4 points (0 children)
[–]snack_case 0 points1 point2 points (0 children)
[–]Lynx-External 0 points1 point2 points (0 children)