5 ms·
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
by zozbot123 8y 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.
- AtHeartEngineer 8y agoVery 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 8y agoIt 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.
- gpderetta 8y agowait, hardware performance hasn't really progressed much in the last 10 year!
- anonymou2 8y agoNot 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.
- gpderetta 8y agoAgree, which means that python actually got worse!
- lunchables 8y agoI 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.
- gpderetta 8y agoTo be extremely optimistic, performance per clock cycle has doubled. The average clock of server hardware hasn't increased significantly. The number of cores have increased ridiculously, but that doesn't really help python much.
- pjmlp 8y agoIt does when going old style multi-process. Which is something that is starting to look interesting again, given the security issues of multi-threading.
- imtringued 8y agoYou can't take advantage of the hardware improvements if you're not using all cores.
- takeda 8y agoWell, with multiprocessing you actually do.