Shed Skin
Shed Skin: Experimental Compiler for Easy Python Extensions
A compiler that makes creating Python extensions easy, utilizing static analysis and type inference techniques to generate optimized C++ code
What is Shed Skin?
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:
- Translates a subset of Python into C++ code, focusing on numeric and array-oriented code
- Uses advanced static analysis techniques to optimize the C++ output
- Can provide significant speedups for CPU-bound Python programs, rivaling C/C++ implementations
- Supports numpy arrays and common Python libraries like itertools and re
- Relatively easy to use - just add static type comments and compile your Python script with Shed Skin
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.
Shed Skin Features
Features
- Compiles Python code to C++
- Performs advanced static analysis and type inference
- Generates optimized C++ code
- Makes it easy to create Python extensions in C++
- Can significantly improve execution time of CPU-bound Python programs
Pricing
- Open Source
Pros
Cons
Official Links
Reviews & Ratings
Login to ReviewThe Best Shed Skin Alternatives
View all Shed Skin alternatives with detailed comparison →
Top Development and Python and other similar apps like Shed Skin
PyPy
PyInstaller
Cython
Py2exe