Reputation: 29
I'm new in Python. After some searching, I've found that PyPy has great performance but it comes with a price. It use too much memory.
What I'm looking for in Python is performance with smallest possible footprint.
How about CPython?
(CPython benchmark in shootout.alioth.debian.org
has been removed. Some people say CPython has small footprint, but how small is that?)
Upvotes: 0
Views: 2331
Reputation: 72795
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.
Upvotes: 2
Reputation: 1048
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 .
Upvotes: 2