by college_physics · 3y ago · 0 comments
In a different universe its sweet easygoing manner would have created enormous value by enabling all sorts of casual programmers to have some control over this most ubiquitus of computing devices.
Alas we dont live in an era where tech aims to empower users.
NB: There are a number of projects that allow some of this (kivy, beeware) but they need to swim hard against the current.
who knows, maybe wasm and projects like pyscript will stirr things up
That's just like, your opinion, man
For consumer grade applications, the issue is slow startup time due to module imports being dynamic and slow.
For scripting use case by a programmer, tools exist in Python. However use cases are rare, often better served by Raspberry Pi and others.
yes that is still the case e.g with kivy based apps (and apk size too, as you need to ship the entire stack). but such issues could be helped if python was to be promoted to "first class citizen". apparently, at least on the android side, the possibility was considered and rejected early on
in any case, whether python or something else, what is missing is easy programmability on mobile. current devices feel more suffocating than Microsoft Windows desktops ever were. you can also see it in the open source app collections in f-droid which I would say is on the underwhelming side.
I think if we switch from endless arguments about best languages to the optimal pairs of languages we'd book huge gains (and less online noise :-)
That's not why it has never really been used for mobile development.
Lambdas with one or more statements instead of a single expression (the actual limitation: “multi-line” is a misnomer) are only an issue because python is a strongly statement-oriented imperative language, and not expression-oriented like most functional and some other languages.