Android: Java v. Python
除了通常的Python v。Java问题之外,是否有任何理由支持Python或Java在其他平台上开发Android手机?
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.
链接地址: http://www.djcxy.com/p/91190.html