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 57 non-trivial test programs, at more than 16,000 lines in total (sloccount), measurements show a typical speedup of 2-200 times compared to 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.