[pypy-dev] Is it possible to make PyPy smaller?

Paul Baker paulbaker8 at gmail.com
Thu Jun 30 05:42:51 EDT 2016


I have a small command-line tool, written in Python, which I would
like to give to a few people to use on their own machines.

For performance reasons, I would like to distribute the tool with PyPy
rather than CPython. For this particular tool, PyPy runs 60 times
faster than CPython (and only 3 times slower than a less-capable C++
implementation).

My concern with distributing PyPy to end-users is size: Python27.dll
is 2.3MB while libpypy-c.dll is 41.9MB.

Why is PyPy so much bigger than CPython? Is it possible to build a
version of PyPy which is closer to CPython in size?


More information about the pypy-dev mailing list