3 ms·
Performance 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
by rckclmbr 9y ago
Performance 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.