4 ms·
That's an opinion, not a fact.
by yzmtf2008 9y ago
That's an opinion, not a fact.
- sprash 9y agoPerformance can be measured. The rest is indeed opinion. The opinion of the python community after almost 10 (!) years after after the first release is quiet obvious: 3.x sucks! I just don't know from where all the 3.x apologist appear as soon as there is a discussion. There always appears to be an inherent need to somehow defend this complete failure.
- rckclmbr 9y agoPerformance can be measured. And what better way than at scale. Facebook wrote an article a while back about how all new code is written in python3, and they are seeing huge performance wins because of it. https://code.facebook.com/posts/1040181199381023/python-in-production-engineering/ https://code.facebook.com/posts/1040181199381023/python-in-p...
- sprash 9y agoMost of the performance gains seem to come from the async/await stuff which is a rather late development which has actually nothing to do with any 3.x features. Could be done with 2.x as well.
- dragonwriter 9y agoAsync/await is a 3.5+ language feature, and Python's core integration of async support, both at a language level and in the standard library, is all 3.x stuff. Some of it you could do with 3rd party libraries and no syntactic support in 2.x, but it's absolutely false to say async has nothing to do with any 3.x features.
- yzmtf2008 9y agoLet's just say that Python 3 is, in fact, slower than Python 2. Performance is only part of what makes a language great. In fact, if you need raw performance, Python is not the language to go. Most of my performance intensive code run with NumPy or Pandas, which is not Python anyway and are not at all affected. I'm also not sure how you got the impression that everyone thinks Python 3 sucks. The fact that you see "apologist" might mean something?
- omginternets 9y ago>Performance can be measured. Performance isn't the only metric. >The opinion of the python community after almost 10 (!) years after after the first release is quiet obvious: 3.x sucks! It's certainly not obvious to me. I've been seeing and hearing great things from/about Py3... >I just don't know from where all the 3.x apologist appear as soon as there is a discussion Consider this mind-bender: many people are very, very happy with Py3.
- jjawssd 9y agoSingle threaded single process Python 3 is faster than Python 2 on I/O intensive workloads if you use asyncio effectively. You need to consider Cython, Celery, and C-extensions such as numpy for performance critical code.
- thehardsphere 9y agoFunny, I was just wondering where all of these 2.x fans who think that porting to 3 is harder than re-writing everything in Go show up from as soon as there's a discussion. There always appears to be an inherent need to somehow describe choices that make sense for the majority of the community as a complete failure, when they're really working out just fine.