top | item 19262168

(no title)

zozbot123 | 7 years ago

Both 3.7 and 3.8 have so many performance improvements. But still, what people like most about Python is code readability. Performance isn't as important as in the past, because of how hardware performance has scaled.

discuss

order

AtHeartEngineer|7 years ago

Very true, but it does let me make stuff faster than my co-workers who are using C++.. without their "well python is so slow" argument from ten years ago.

takeda|7 years ago

It is extremely unlikely (I actually wanted to say "never" but many people were bitten for using that word) that Python will be faster than C++.

So if the hope of being fast keeps you with Python, you choose the wrong language.

imtringued|7 years ago

You can't take advantage of the hardware improvements if you're not using all cores.

takeda|7 years ago

Well, with multiprocessing you actually do.

gpderetta|7 years ago

wait, hardware performance hasn't really progressed much in the last 10 year!

anonymou2|7 years ago

Not CPUwise. But they have increased the number of CPUs available and that's where python has problems because of the GIL. Fortunately the multiprocessing library seems like a good workaround to the GIL issue.

lunchables|7 years ago

I guess we can argue the semantics of "much" but comparing my current ryzen system to my core2duo system from 10 years ago the performance difference is massive.