r/Python • • Nov 13 '20

News Python swallows Java to become second-most popular programming language

https://www.theregister.com/2020/11/12/python_swallows_java_to_become/
2.3k Upvotes

205 comments sorted by

View all comments

Show parent comments

114

u/[deleted] Nov 13 '20

Better performance?¯_(ツ)_/¯

20

u/gregy521 Nov 13 '20

You can swap CPython with pypy for an average 4x speedup. You can also offload to more efficient libraries like numpy for data crunching, or use Numba to JIT compile to machine code.

1

u/[deleted] Nov 13 '20

Sure but for the love of god it would be nice to be able to use a for loop instead of having to do vectorialization all the time. And I say this knowing how to vectorialize a ton of stuff. But it is just strange

1

u/Armaliite Nov 13 '20

Numba speeds up the loops though