3 ms·
Benchmarks will eventually come out. However, put this into perspective. Ruby has a JIT. Python doesn't. Until it does, its performance is fundamentally capped
by chucke 4y ago
Benchmarks will eventually come out. However, put this into perspective.
Ruby has a JIT. Python doesn't. Until it does, its performance is fundamentally capped by it.
Ruby has two viable alternative runtimes, one that sees a lot of production usage (jruby) and another one which can run the same code as CRuby (truffleruby). Both do not have a GIL. Both have multi-tier JITs, and a huge upside. Most of the ecosystem is known to test compatibility with jruby, and the effort to do the same with truffleruby is well underway.
Compare that with python, where not running Cpython comes with a lot of asterisks, mostly because the ML ecosystem that brought it to massive popularity can only run in Cpython.
Ruby has overall more upside.
- Mystery-Machine 4y agoWow! I'm a Ruby on Rails developer and I always thought how Python language is more advanced because it's way more popular programming language than Ruby. Thank you for proving me wrong. :)