开发者

Android: Java v. Python [closed]

开发者 https://www.devze.com 2022-12-09 13:54 出处:网络
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing
Closed. This question is opinion-based. It is not currently accepting answers.

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 8 years ago.开发者_开发技巧

Improve this question

Is there any reason to favor Python or Java over the other for developing on Android phones, other than the usual Python v. Java issues?


Java is "more native" on the Android platform; Python is coming after and striving to get parity but not quite there yet AFAIK. Roughly the reverse situation wrt App Engine, where Python's been around for a year longer than Java and so is still more mature and complete (even though Java's catching up).

So, in any situation where you'd be at all undecided between Java and Python if the deployment was due to happen on some general purpose platform such as Linux, I think the maturity and completeness arguments could sway you towards Python for deployment on App Engine, and towards Java for deployment on Android.


On the mobile platform performance and memory usage are much more critical than desktop or server. The JVM that runs on Android is highly optimized for the mobile platform. Based on the links I have seen about Python on Android none of them seem to have an optimized VM for mobile platform.


With Java you have access to the full OS API.

Python on Android, last time I checked, was kind of a hack. You couldn't create a GUI app, for example.

There seems to some progress on the Python front on the last few months.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号