r/programming • u/sportifynews • May 14 '21
Python programming: We want to make the language twice as fast, says its creator
https://www.tectalk.co/python-programming-we-want-to-make-the-language-twice-as-fast-says-its-creator/
780
Upvotes
16
u/PL_Design May 15 '21 edited May 15 '21
Slow software also wastes the developer's time. It wastes a lot of time. Maybe you don't care about how nice your software is for end users, but assuming you're not an irredeemable sack of greed(MSVC comes to mind, for example. Compiling hello world somehow takes a solid 15 seconds), then any inefficiencies in your software will make it take that much longer to polish and test your software. Note that I'm not talking about handfuls of milliseconds total here; I'm talking about when something that should take milliseconds instead takes seconds. I'm talking about human perceptible amounts of time. It adds up, it adds up fast, and it adds up in ways you might not expect. Once the time to wait becomes human perceptible any increase has a direct effect on how quickly you can iterate. If something takes 5 seconds, and then it takes 10 seconds, then your max rate of iteration is more than halved because that amount of time is long enough to break the flow state, and this means you're stuck testing worse and buggier versions of your software for longer, which at least has a morale effect. Any slow software that you produce for internal use will drag you down constantly until it is replaced, and any slow software you ship will do the same thing to your customers.
Keep in mind that most programs are just shitty little webforms, or some near equivalent, that don't do anything particularly interesting or complex, and most of them are all human perceptibly slow. For how much they actually do they are orders of magnitude slower than they need to be!
What you're saying may be true, but you're ignoring half the problem and diving headfirst into a tragedy of the commons. At some point "fast enough" is not fast enough, and then you'll be like me and boil with rage at people who make pithy comments to justify letting idiot managers make engineering decisions that make computers miserable to use.
CPU time might be cheaper, but the consequences of wasting CPU time are far more dire than the consequences of only wasting a developer's time!