3 ms·
If we're not counting PyPy, and we're not counting Cython, and we're not counting the ease of writing CPU-bound code in C or C++[1] while leaving the rest of yo
by mangeletti 10y ago
If we're not counting PyPy, and we're not counting Cython, and we're not counting the ease of writing CPU-bound code in C or C++[1] while leaving the rest of your application in Python (e.g., like Numpy and other libraries do), then we're left with:
Releases like Python 3.6[2], where lots of little optimizations are made, give Python a performance growing edge on Ruby.
1. https://docs.python.org/2/extending/extending.html https://docs.python.org/2/extending/extending.html
2. https://docs.python.org/3.6/whatsnew/3.6.html https://docs.python.org/3.6/whatsnew/3.6.html
- BuckRogers 10y agoThere's ease in writing extensions for Ruby in C and C++ as well. Those Python 3.6 enhancements are still going to result in CPython being absolutely crushed by Python 2.7 on PyPy5.