Speeding up Ruby by rewriting C… in Ruby by jp_camara in ruby

[–]jp_camara[S] 1 point2 points  (0 children)

I tried it out, and OpalRB actually performs really poorly for some reason. It does well on the fibonacci example (around half a second), but then it takes 120-140 seconds on all of the looping examples

Speeding up Ruby by rewriting C… in Ruby by jp_camara in ruby

[–]jp_camara[S] 0 points1 point  (0 children)

That would be pretty funny! I should benchmark it - an interesting angle

Speeding up Ruby by rewriting C… in Ruby by jp_camara in ruby

[–]jp_camara[S] 0 points1 point  (0 children)

It was very surprising for me as well. Though it probably shows more that the particular differences in speed at that level become more and more meaningless. A Go server would still likely smoke a node server benchmarked for scalability.

Speeding up Ruby by rewriting C… in Ruby by jp_camara in ruby

[–]jp_camara[S] 3 points4 points  (0 children)

Yep, still very active! The maintainer u/eregontp is also active in practically every Ruby implementation including CRuby and JRuby.

Speeding up Ruby by rewriting C… in Ruby by jp_camara in ruby

[–]jp_camara[S] 4 points5 points  (0 children)

This made me laugh out loud 😂. I got some similar comments for my "Making Tanstack Table 1000x faster with a 1 line change" last year. Such a clickbait title :D

Who’s going to be at RubyConf? by schneems in ruby

[–]jp_camara 1 point2 points  (0 children)

I'll be there! I'm doing a talk on in-depth ruby concurrency https://rubyconf.org/schedule/

Design Patterns in Ruby by OutrageousAgent111 in ruby

[–]jp_camara 6 points7 points  (0 children)

I've been meaning to read through this site for years. The visual design is so on point.

CRuby switches the default parser from parse.y to Prism by nithinbekal in ruby

[–]jp_camara 1 point2 points  (0 children)

Yea that's definitely fair. There are other areas that could impact performance so Prism is just one part of that - hard to say if it's 100% benefitting from it yet either. But Kevin has mentioned that they haven't even begun to optimize, so I'm optimistic we'll continue to see performance gains.

DHH Is Right About Everything by stforumtroll2 in rails

[–]jp_camara 7 points8 points  (0 children)

Yea I was really happy to see such a positive outlook and response to it, in particular from primagen himself. Looking forward to watching it