←back to thread

287 points todsacerdoti | 1 comments | | HN request time: 0s | source
Show context
pmarreck ◴[] No.45959687[source]
How fast is Ruby, lately?

I haven't used it in about 10 years

replies(6): >>45959743 #>>45959878 #>>45960313 #>>45960341 #>>45960394 #>>45968797 #
1. vidarh ◴[] No.45959878[source]
I have a prototype ahead-of-time Ruby compiler. It's woefully incomplete - I've just recently picked it up again after years of inactivity, with heavy AI use to pursue rubyspec compliance (it's nowhere close). The point of mentioning that: MRI - the main Ruby interpreter - is fast enough that competing against it with an unoptimized compiler goes really badly unless you do a lot to optimise the garbage collector (I haven't yet).

So it's "fast". There's plenty more that can be done to make it much faster still, but even before yjit, MRI had gotten pretty decent.