Python is Expensive On Mobile
A lot of people who are interested in python, but hesitent, worry about the overhead of a dynamic language. Things like dynamic displatch and the millions of dictionary lookups per second can burn through CPU cycles. The advice has always been, "Buy more or better hardware. Iron costs as much as the developer time you'll lose to a more difficult language."
These problems are only made worse by our untethered devices reliance on batteries. Those CPU cycles cost energy, and any tool that saps more battery life is going to be at a disadvantage for mindshare.
This problem has been reduced in two ways: the Python runtime got faster as the core developers improved it over the years, and computers got faster. Then, suddenly, we started shifting a lot of our time, focus, and money into machines far, far slower! And, no matter how much these improve, they'll always be a lot less powerful than the ones sitting on or under our desks. Python, I'm afraid, is always going to have a disadvantage compared to the likes of Java, Objective-C, and C# on phones and tablets and other mobile devices.
The common retort here is "Well, that isn't the realm of Python. Don't use it for problems it isn't meant to solve." Then you don't understand the area of effect I'm worried about.
|