Re:Why Is Python Growing So Quickly?
by fencepost on Thursday September 14, 2017 @01:01PM
(#15249980)
C++ may let you "squeeze every bit of performance," but in a lot of cases it does so by handing you a lot of rope.
You might use it to make a rope bridge across that performance gap, but how good your bridge is depends a lot on you - and if you just manage to hang yourself with it, well, that's on you as well.
With Python it may take longer to get across because you detour a mile over to a more solidly constructed bridge, but you still get there and for most cases you get there fast enough.
C++ libraries should allow people to squeeze every bit of performance juice out of them (e.g. custom allocator).
Python libraries should be intuitive to use.
---
Naturally, there are exceptions, like numpy.