2
I Use This!
Very Low Activity
Analyzed about 7 hours ago. based on code collected 3 months ago.

Project Summary

Shed Skin is an experimental compiler, that can translate pure, but implicitly statically typed Python programs into optimized C++. It can generate stand-alone programs or extension modules that can be imported and used in larger Python programs.

Besides the typing restriction, programs cannot freely use the Python standard library (although about 20 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 (see the tutorial for details).

For a set of 44 non-trivial test programs (at over 10,000 lines in total (sloccount)), 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, many other programs will not compile out-of-the-box.

Shed Skin consists of only 5,300 lines of Python code (sloccount), and about 16,000 lines of C++ code (implementation of builtins and library modules). Unfortunately, there is still only one active developer, so please consider joining the project!

Tags

c compiler cplusplus llvm performance psyco pypy python rpython statictyping typeinference unladenswallow

Badges

In a Nutshell, shedskin...

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    by exploring contributors within projects, you can view details on every commit they have made to that project
  • ...
    in 2016, 47% of companies did not have formal process in place to track OS code
  • ...
    compare projects before you chose one to use

Languages

Languages?height=75&width=75
Python
70%
C++
29%
5 Other
1%

30 Day Summary

Feb 6 2017 — Mar 8 2017

12 Month Summary

Mar 8 2016 — Mar 8 2017
  • 6 Commits
    Down -68 (91%) from previous 12 months
  • 2 Contributors
    Down -1 (33%) from previous 12 months