嵌入式设备的Python? [英] Python for Embedded Devices?

查看:84
本文介绍了嵌入式设备的Python?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于许多嵌入式设备来说,Java似乎已经成为选择的平台和语言

。 Python(也许是在嵌入式Linux版本上运行的b $ b)以这样的能力行事是否可行。

我使用Python的大部分经验都是使用Unix-类型脚本

任务,当它是一个内置脚本的应用程序时使用它,但

我知道有些人试图用来构建更大的复杂应用程序。是否可以使用Python解释器,并且足够好用于资源

受限设备如手机?

Java seems to have taken off as the platform and language of choice
for many embedded devices. Would it be feasible for Python(perhaps
running on an embedded version of Linux) to act in such a capacity.
Most of my experience with Python has been with Unix-type scripting
tasks and using it when it is an applications built in scripting, but
I know some people try to use to build larger complex applications. Is
the Python interpreter portable and good enough to be used in resource
constrained devices like cell phones?

推荐答案

EP:
我之前读过一些在这方面没有很好地展示Python的比较:即与Perl,C ++,Java相比,Python很慢。
I previously read some comparisons which did not show Python in a good light
in this regard: i.e. Python is slow compared to Perl, C++, Java.




这些通常是解释性语言

级别的纯计算基准。在实践中,我发现我的Python程序比Java表现得好一些,可能是因为Python有许多用C实现的库,而b / b
而Java有许多纯Java库。 />

-
$ b $bRenéPijlman



These are usually pure compute benchmarks at the interpreted language
level. In practice I find that my Python programs perform somewhat better
than Java, probably because Python has many libraries implemented in C,
whereas Java has many pure Java libraries.

--
René Pijlman


有一些项目将Python带到小 ;平台如

掌上电脑,如wince和palm。这些通常是完整的Python实现,其中有一些来自核心语言的遗漏

(例如unicode,复数)和一套精简的标准

模块。我认为这通常需要一两个安装才能安装,

我不知道这些项目是否得到了积极维护。


Jeff

There have been a few projects to bring Python to "small" platforms like
handheld computers such as wince and palm. These are typically full
implementations of Python with a few omissions from the core language
(eg unicode, complex numbers) and a stripped-down set of standard
modules. I think this typically requires a meg or two for installation,
and I don''t know whether these projects are actively maintained.

Jeff


在文章< ef ************************** @发布。 google.com>,

Brandon< br ********* @ yahoo.com>写道:
In article <ef**************************@posting.google.com >,
Brandon <br*********@yahoo.com> wrote:
Java似乎已成为许多嵌入式设备的平台和语言选择。 Python(也许是在Linux的嵌入式版本上运行)以这样的能力运行是否可行。
我使用Python的大多数经验都是使用Unix类型的脚本执行任务和当它是一个内置脚本的应用程序时使用它,但是我知道有些人试图用来构建更大的复杂应用程序。是否可以将Python解释器移植并且足够好用于资源等受限设备,如手机?
Java seems to have taken off as the platform and language of choice
for many embedded devices. Would it be feasible for Python(perhaps
running on an embedded version of Linux) to act in such a capacity.
Most of my experience with Python has been with Unix-type scripting
tasks and using it when it is an applications built in scripting, but
I know some people try to use to build larger complex applications. Is
the Python interpreter portable and good enough to be used in resource
constrained devices like cell phones?




是。


没有。是的,Python当前可用于现有的b $ b b蜂窝电话。我没有看到它准备好在那里探索增长,但是技术缺陷也不会因为我的任何缺乏良好的愿望而无法实现.B br />
''Twould让我兴奋地在嵌入式

项目中编写更多Python。


我在考虑时会强调一点这个

就是嵌入式设备。涵盖范围很广,因为我相信你已经知道了。一些开发人员通常使用的硬件比使用蜂窝电话的硬件更远,更加受限制了b $ b;其他人,也是编程的b
嵌入式设备,不能与香草区分开来。

Linux编码器。

-


Cameron Laird< cl **** @ phaseit.net>

业务: http://www.Phaseit.net


这篇关于嵌入式设备的Python?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆