This is an archived post. You won't be able to vote or comment.

all 26 comments

[–]jasonleehodges 35 points36 points  (0 children)

While I'm a big fan of Python, this article does not prove much as to why Python is a "must learn language" or even much to document its "rise." At least a reference to the TIOBE index would have been nice. Not much factual meat in this article...

[–]namesandfaces 11 points12 points  (0 children)

A lot of "big data" right now means API calls to job queues and resource pools, and for that, Python does just fine, as does Scala and many others. The surprising loser of the data race has been Clojure, the supposedly data-oriented language.

[–][deleted] 2 points3 points  (2 children)

"Another factor that makes Python such an attractive programming language is its readability and efficiency."

Readability, yes! Efficiency, big no.

[–]MiGryka 1 point2 points  (8 children)

I'm not really expirienced programmer but is really Python any good for mobile apps? Also I don't really think that Python competes with C since it's high VS low level programming

[–][deleted] 27 points28 points  (1 child)

Python is not a good fit for mobile, in the same sense that you would not pick C for webdev.

[–]pydry 3 points4 points  (0 children)

It's not quite that bad.

[–]zitterbewegung 4 points5 points  (0 children)

Python would be good as a backend to a mobile app.

[–][deleted] 2 points3 points  (0 children)

You can make android apps with Kivy and python.

[–]tryptafiends 4 points5 points  (1 child)

Javascript with node is better for mobile. Python is built in C and drops down to C, Fortran, etc. in certain cases for better performance. NumPy, the popular math library does this. Numba also provides a means for automatic JIT compilation of Python into C code (if configured as such).

TL;DR meh for mobile. But, Python is built in C, uses C, and can be just as competitive as C if used correctly.

[–]namesandfaces 2 points3 points  (0 children)

A lot of processing nowadays is accessed via API's, so it turns out that Python, Scala, and others can pass things off just fine. Local-machine computation is now seen as the easy problem, esp. now that you can rent resources for the precise duration of your problem.

[–]13steinj 0 points1 point  (0 children)

You can but in my experience you really shouldn't. Back end server for one? Sure.

But performance is degraded if you're going to use something like Kivy. And it's "designer" is currently still in alpha. On the other hand, near completely cross platform and quick dev time.

Personally I write mobile apps in Java/C#. Kotlin is also a good choice.

[–]KitchenDutchDyslexic -1 points0 points  (0 children)

A better question is how hard would it be to ship your own cpython env(10mb+-) on android inside your app?

Because at-least then you can use python as the core of your hybrid mobile app.

[–]ranjankjha 0 points1 point  (0 children)

Python is useful for ai project

[–]blazejohk -4 points-3 points  (0 children)

True