Can PyPy/RPython be used to produce a small standalone executable? Can PyPy/RPython be used to produce a small standalone executable? python python

Can PyPy/RPython be used to produce a small standalone executable?


Yes, PyPy can produce standalone executables from RPython code. That means, you need to follow all the awkward RPython rules when it comes to writing code. Your Python code is completely unlikely to function out of the box and porting existing Python code is usually not fun. It won't make executables as small as C, but for example rpystone target (from pypy/translator/goal) using boehm GC is 80k on 64bit after stripping.