An optimizing (restricted) Python-to-C++ compiler. #Python compiler #Python to c++ #Python translator #Compiler #Translator #Compile
Shed Skin is an experimental compiler, that can translate pure, but implicitly statically typed Python programs into optimized C++. Shed Skin can generate stand-alone programs or (simple, for now) extension modules, that can be imported and used from larger Python programs.
Besides the typing restriction, programs cannot freely use the Python standard library (although about 17 common modules, such as random and re, are currently supported). Also, not all Python features, such as nested functions and variable numbers of arguments, are supported.
For a set of 27 non-trivial test programs (at about 7,000 lines in total), measurements show a typical speedup of 2-40 times over Psyco, and 2-220 times over CPython.
Because Shed Skin is still in an early stage of development, however, a lot of other programs will not be able to compile out-of-the-box.
Installation: To install Shed Skin on your Mac you will have to open a Terminal window, browse to Shed Skin's folder and run the following command from inside that directory (you will need administrator privileges to be able to run it):
sudo python setup.py install
System requirements
What's new in Shed Skin 0.9.4:
- type inference fix (concluding dynamic types too soon), which allowed a 5,000+ sloc program to compile
- fix for passing long integers to extension module (Ernesto Ferro)
- fixes for pickling (triggered by Ernesto Ferro)
- fix for when iteration variable is declared global (reported by Alex Susu)
Shed Skin 0.9.4
add to watchlist add to download basket send us an update REPORT- runs on:
- Mac OS X (-)
- file size:
- 359 KB
- main category:
- Developer Tools
- developer:
- visit homepage
ShareX
7-Zip
4k Video Downloader
Microsoft Teams
Zoom Client
calibre
Windows Sandbox Launcher
IrfanView
Bitdefender Antivirus Free
Context Menu Manager
- IrfanView
- Bitdefender Antivirus Free
- Context Menu Manager
- ShareX
- 7-Zip
- 4k Video Downloader
- Microsoft Teams
- Zoom Client
- calibre
- Windows Sandbox Launcher