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

2

u/tr14l Nov 13 '20

If you use a single thread running on a couple dozen cores, sure, no doubt. But why would you do that?

8

u/DanKveed Nov 13 '20

I am talking about multithreading. Python sucks ass at true CPU intensive tasks. That's why libraries like numpy are written in higher performance languages like c++. And why would you need that.... Well numpy for starts, anything control system related, AI, simulation, CAD, video editing, the use cases are Endless

0

u/[deleted] Nov 13 '20

[deleted]

1

u/ShanSanear Nov 14 '20

I ran pypy on one of our inefficently written python projects (runtime of about 10hours). Pypy was 30-40% slower than python 3.8 using exactly the same code. Pypy isn't always the answer.