Skip to main content

An Optimizing (Restricted) Python-to-C++ Compiler

Project description

Shed Skin is an experimental compiler, that can translate pure Python programs into optimized C++. It uses advanced type inference techniques to deduce type information, so users are not requested to add any type declarations/hints. Programs have to be implicitly _statically_ typed (abstract and generic types as in C++ are supported). The speedup obtained is typically between 2-40 times over Psyco, and 2-220 over CPython. Features that are (currently) not supported: importing arbitrary standard library modules, arbitrary-size arithmetic.. (see the home page for 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