Skip to main content

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 (2.4-2.6) programs and generates optimized C++ code. The result can be further compiled to stand-alone programs or extension modules. For a set of 64 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 25 library modules, such as re and random. See the home page for more details.

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page