4 ms·
The java based ruby, removes the GIL, which provides us real multithreading. Truffleruby is "A high performance implementation of the Ruby programming language
by pelasaco 4y ago
The java based ruby, removes the GIL, which provides us real multithreading.
Truffleruby is "A high performance implementation of the Ruby programming language, built on GraalVM." If you prefer there is even a rust based ruby https://github.com/artichoke/artichoke https://github.com/artichoke/artichoke
again, IMO, the microbenchmark, doesn't matter. What matters is the problem domain, whole stack and the whole "speed", including development, deployment and etc, and for some domains, ruby is the best and fast choice.
- Alifatisk 4y agoWell, Ruby 3 has Ractors which is still in experimental stage but offers true multicore processing. It's quiet fun to play around with actually, to see all your cores being utilized.