Shed Skin 0.9.4

An optimizing (restricted) Python-to-C++ compiler
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

last updated on:
June 17th, 2013, 16:04 GMT
file size:
359 KB
price:
FREE!
developed by:
Mark Dufour
license type:
GPL 
operating system(s):
Mac OS X
binary format:
-
category:
Home \ Developer Tools

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!
1 Screenshot
Shed Skin
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)
read full changelog

Add your review!

SUBMIT