We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed last year.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
我会推荐 PyMite - http://wiki.python.org/moin/PyMite 和 http://code.google.com/p/python-on-a-chip/ 设计为在嵌入式设备上运行,因此它的占用空间必须很小。
I would recommend PyMite - http://wiki.python.org/moin/PyMite and http://code.google.com/p/python-on-a-chip/ designed to run on embedded devices so it's got to be with a small footprint.
当人们谈论“Python”时,通常指的是 CPython、PyPy 是一个 Python 实现,其目标是提高性能,并提供了一个可以提高性能的 JIT 编译器。
如果你担心性能,Cpython 的微调非常好。大多数时候,你会遇到的缓慢问题是由于所使用的算法造成的,这就是你要动手的地方;)。
如果由于某种原因,您的代码的关键部分需要额外的推动,您可以使用 Cython 来扩展您的程序,但这很少需要。
总而言之,你使用哪种实现并不重要,很多很棒的东西都是使用 python 制作的,所以我认为你不会对“性能”有问题,只要进入它你就不会后悔。
When people talk about "Python" usually this refers to CPython, PyPy is a Python implementation whose goal is to improve performance and offers a JIT compiler that improves performance.
If you are worrying about performance, Cpython is fine tuned very well. Most of the time the slowness you would get would be from the algorithm used, that's where you get your hands dirty ;).
If for some reason you had critical part of your code that needed that extra push, you can use Cython to extend you program, but that is rarely needed.
As a wrap up, it doesn't matter which implementation you use, a lot of great stuff is made using python so i don't think you would have problem with " Performance ", just get into it you wont regret it .