I was interested in comparing ruby speed vs python so I took the simplest recursive calculation, namely print the fibonacci sequance.
This is the python code
So for this code, Python is a bit more than two times slower than Ruby. Probably for other codes, Python will be faster than Ruby.
Your implementation of fib() has exponential run time. This can easily be avoided by using a loop. Python example:
a, b = 1, 1 for i in range(35): a, b = b, a+b print b