Shed Skin 0.9.4
An optimizing (restricted) Python-to-C++ compiler
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
In a hurry? Add it to your Download Basket!
What's New in This Release:
- 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)