News for hackers. Stuff that matters.
Re:Why Is Python Growing So Quickly? by barrkel on Thursday September 14, 2017 @12:52PM (#15249880)
Watch out for conflating abstraction level with speed. Coding at a low level of abstraction means sweating the small stuff, but it's easy to fool yourself into thinking you're making things fast - when actually, you're micro-managing.

Painting with broader brushstrokes with less concern for micro-efficiencies lets you block out a solution faster. Another part of the problem with C++ is that the components come with so many rough edges that need to be filed down that you can't help getting swamped in a certain level of detail, unless you start with a large toolbox or framework that lets you work back at a higher level again.

You ought to have the equivalent of Java's file stream, buffer and text decoder as three separate bits that you can compose, so that putting a whole file in a string is never even a temptation. But if you start out with a sparse toolbox, it's a slog.

Re:Why Is Python Growing So Quickly? by yongjik on Thursday September 14, 2017 @01:16PM (#15250135)
On the other hand, there were times when I had to get a piece of paper and draw diagrams to construct a twenty-line sequence of numpy calls, when the same would have been achieved by several completely straightforward double (or triple) loops in C++. Writing the same loop in Python was out of question because it would be too slow.

Performance grants you some freedom.

Re:Why Is Python Growing So Quickly? by xapata on Thursday September 14, 2017 @01:34PM (#15250350)
Use Numba (http://numba.pydata.org). Have your cake and eat it too.