Numpy is a dedicated library where the critical code is in C, but that's a library, hardly a language feature. I don't know if there is any numerical processing library in Ruby.
Cython is not intrinsic to Python either. I see there is a ruby2c gem, but I have no idea how it compares to Cython.
As for pypy, that's about switching to a different runtime, the same way Ruby people would go to JRuby.
None of this turns Ruby into apples and Python into oranges, I'm afraid.
Cython is not intrinsic to Python either. I see there is a ruby2c gem, but I have no idea how it compares to Cython.
As for pypy, that's about switching to a different runtime, the same way Ruby people would go to JRuby.
None of this turns Ruby into apples and Python into oranges, I'm afraid.