An Optimizing (restricted) Python-to-C++ Compiler
Project description
Shed Skin is an experimental (restricted) Python-to-C++ compiler. It accepts pure but implicitly statically typed Python programs and generates optimized C++ code. The result can be further compiled to stand-alone programs or extension modules. For a set of 52 non-trivial test programs, at more than 14,000 lines in total (sloccount), measurements show a typical speedup of 2-20 times over Psyco and 2-200 times over CPython. Not all Python features are supported, and only a subset of about 20 library modules, such as re and random. See the home page for more details.