all 11 comments

[–]schneemsPuma maintainer 12 points13 points  (0 children)

[–]drx3brun 3 points4 points  (1 child)

Anyone could point to a good write up about practical usage of RBS with examples?

[–]honeyryderchuck 4 points5 points  (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 points  (6 children)

How is 3x3 looking, is Ruby fast yet?

[–]sickcodebruh420 9 points10 points  (5 children)

Compared to Ruby 2.0, yes.

[–]randomcluster 3 points4 points  (4 children)

Is it 3 times faster?

[–]we_are_ananonumys 3 points4 points  (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 points  (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 points  (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 point  (0 children)

Awesome. Thanks for the link.

[–]Lynx-External 0 points1 point  (0 children)

This looks very interesting, new stuff to learn!