# time yum
real 0m2.147s
user 0m1.276s
sys 0m0.772s
# time apt-get
0.00s user
0.00s system 91% cpu
0.004 total
# time yum
real 0m2.147s
user 0m1.276s
sys 0m0.772s
# time apt-get
0.00s user
0.00s system 91% cpu
0.004 total
The author wants more Pythonic GUI apps because s/he thinks it produces more readable code. It has been argued that such code can be slower ( http://lukauskas.co.uk/articles/2014/02/13/why-your-python-r... ) and maybe it will lead to trading too much developer pleasure for user pleasure.
In many cases - developer time or cost is the constraint. Therefore it might be the difference between something existing and not existing.
It's a similar argument with 'native vs other' on mobile. Currently native apps are obviously better in terms of speed and overall quality. However - much non-native software simply wouldn't exist if there wasn't a rapid, low-barrier to entry development option.
And the world would be much better if that happened.
Seriously, the primary driver for the "developer-time offset" is the race-to-the-bottom competition between companies on who releases the app first, driven by the assumption that in this market the winner takes all. Maybe it is the case (though my impression is that people tend to gravitate to better software over time), but then there are markets without such a huge competitive pressure. Like package managers for Linux-based systems. Seriously, there is no reason for not doing them right (except of course the Unix philosophy being that not doing things right is the Right Thing).
So to summarise - no-one would choose Python for building GUI apps if it wasn't for the obsession modern companies have with being first-to-market?
If I've been unfair or misunderstood then can you please explain a bit more clearly how we got from a discussion about using Python for GUI applications to a statement that it's somehow about commercial pressures to release an app. It certainly doesn't match my own reasons for learning and using Python or those of anyone I've met.
I don't have anything against Python per se. Sure, it isn't the fastest language out there (even considering the high-level features it provides), but rarely the problem with application performance lies squarely with Python. It's more often about not putting time to "make it good" and "make it fast" after "making it work". Especially with - from what I hear, quite good - FFI capabilities of Python, in the worst case one could always push the most intensive computations down to C.
With regard to mobile apps - I was thinking more about non-commercial or hobbyist apps - the interesting, quirky or niche.
It's not the same in GUIs where the startup time doesn't usually dominate, but it's easier to keep the main loop spinning at 60 Hz to avoid dropping frames with a language implementation that is faster and not encumbered with a GIL.
https://talkpython.fm/episodes/show/58/create-better-python-...
# time dnf
real 0m0.236s
user 0m0.152s
sys 0m0.070s