A compiler that makes creating Python extensions easy, utilizing static analysis and type inference techniques to generate optimized C++ code
Shed Skin is an experimental just-in-time compiler that can translate pure, but implicitly statically typed Python programs into optimized C++ code. It performs advanced type inference and program analysis to determine the types of all values at compile time, and uses this to generate faster code.
Some key features of Shed Skin include:
Because it relies on static types and analysis, Shed Skin has some limitations in terms of supported Python features. But for computational and numeric code, it can translate Python into highly efficient C++ without having to rewrite everything. If you have Python code that is too slow, give Shed Skin a try to accelerate it.