很多朋友都在使用Python来构建他们的移动应用程序和游戏。
python是开发者用于移动应用程序的首选语言? 如果是这样,为什么?
a lot of my friends are using Python to build their mobile applications and games.
is python the preferred language for mobile applications for developers? if so, why?
最满意答案
不,没有用于移动开发的首选语言。 每个移动平台都有自己的支持语言或一组受支持的语言。 Android主要使用Java进行编程(尽管也支持C ++和Python开发),而iPhone则使用Objective-C进行编程。 移动设备的一个常见主题是将应用程序的核心功能作为web服务来实现,然后为特定的移动平台实现UI,该移动平台是Web服务的瘦客户端。 尽管用户可以使用该平台支持的任何语言编写用户界面,但用于Web服务的语言可以是您选择在Web服务器上运行的任何编程语言。 如果您使用云计算服务,那么该服务将支持任何语言(例如,如果您使用Google AppEngine,则Python和Java都是受支持的语言)。
No, there is no preferred language for mobile development. Each mobile platform has its own supported language or set of supported languages. Android is programmed primarily with Java (although development in C++ and Python are also supported), while the iPhone is programmed with Objective-C. A common theme in mobile is to implement the core functionality of the application as a webservice, and then to implement a UI for a specific mobile platform that is a thin client to the web service. While the UI will be written in whichever language(s) are supported by the platform, the language that you use for the webservice can be whatever programming language(s) you choose to run on your webserver. If you use a cloud computing service, then that would be whatever languages are supported by that service (e.g. if you use Google AppEngine, then Python and Java are both supported languages).
更多推荐
发布评论