Shed Skin 0.0.23
Sponsored Links
Shed Skin 0.0.23 Ranking & Summary
File size:
0.16 MB
Platform:
Any Platform
License:
GPL (GNU General Public License)
Price:
Downloads:
851
Date added:
2007-06-29
Publisher:
Mark Dufour
Shed Skin 0.0.23 description
Shed Skin is an experimental Python-to-C++ compiler. Shed Skin accepts pure Python programs, and generates optimized C++ code. This means that, in combination with a C++ compiler, it allows for translation of Python programs into highly efficient machine language. For a set of 16 non-trivial test programs, measurements show a typical speedup of 2-40 over Psyco, about 12 on average, and 2-220 over CPython, about 45 on average (see Section 5 of my Masters Thesis on the right). Shed Skin also outputs annotated source code.
The high performance and elegant approach of Shed Skin (it is only 6000 lines!) come at a cost. First, it currently only accepts programs that are statically typed. This simply means that variables can only ever have a single type. So e.g. a = 1; a = 1 is not allowed. Of course, a single type can be abstract or generic (as in C++), so that e.g. a = A(); a = B(), where A and B have a common base class, is allowed.
Second, Python programs cannot currently freely use the Python standard library. However, some common imports are supported (see *_.py), and many others can be easily added. The problem is a practical one, since in theory it is possible to create bindings for most library modules. A simple work-around can be to only compile critical parts of a Python program, and communicate with it through e.g. files and standard in- and output. This way, the main program can use the full Python dynamics and standard library, and the whole program is written in pure Python.
Shed Skin is still alpha software, and there are some other minor, mostly temporary, limitations. Please read the Limitations section carefully, before trying to compile a program. The only thing I ask in return for making the software available under the GPL, is that you send me an email when you encounter a problem, that is not listed among these limitations. This is the fastest way to getting your program supported, since I typically do not fix problems I do not know about. Please also let me know if you would like me to implement certain library calls.
Enhancements:
- Support for __iadd__, __imul__, and such was added (but not for __ipow__ and __imod__).
- The set implementation was optimized.
- A string formatting problem was fixed (%% did not always work).
- Some bugs were fixed in generating extension modules.
- A particular inheritance problem was fixed.
The high performance and elegant approach of Shed Skin (it is only 6000 lines!) come at a cost. First, it currently only accepts programs that are statically typed. This simply means that variables can only ever have a single type. So e.g. a = 1; a = 1 is not allowed. Of course, a single type can be abstract or generic (as in C++), so that e.g. a = A(); a = B(), where A and B have a common base class, is allowed.
Second, Python programs cannot currently freely use the Python standard library. However, some common imports are supported (see *_.py), and many others can be easily added. The problem is a practical one, since in theory it is possible to create bindings for most library modules. A simple work-around can be to only compile critical parts of a Python program, and communicate with it through e.g. files and standard in- and output. This way, the main program can use the full Python dynamics and standard library, and the whole program is written in pure Python.
Shed Skin is still alpha software, and there are some other minor, mostly temporary, limitations. Please read the Limitations section carefully, before trying to compile a program. The only thing I ask in return for making the software available under the GPL, is that you send me an email when you encounter a problem, that is not listed among these limitations. This is the fastest way to getting your program supported, since I typically do not fix problems I do not know about. Please also let me know if you would like me to implement certain library calls.
Enhancements:
- Support for __iadd__, __imul__, and such was added (but not for __ipow__ and __imod__).
- The set implementation was optimized.
- A string formatting problem was fixed (%% did not always work).
- Some bugs were fixed in generating extension modules.
- A particular inheritance problem was fixed.
Shed Skin 0.0.23 Screenshot
Shed Skin 0.0.23 Keywords
Shed Skin 0.0.23
Shed Skin
skin
shed
python
program
compiler
programs
Shed Skin 0.0.23
Compilers
Programming
Bookmark Shed Skin 0.0.23
Shed Skin 0.0.23 Copyright
WareSeeker periodically updates pricing and software information of Shed Skin 0.0.23 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Shed Skin 0.0.23 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
snakes shed skin
snake shed skin
to shed skin
do turtles shed skin
shed skins
humans shed skin
frog shed skin
insects that shed skin
spider shed skin
blue rodeo
shed my skin
wedding programs
weight loss programs
tax programs
affiliate programs
do african frogs shed skin
ged programs
shed aquarium
skin rash
Related Software
The Mana World (TMW) is a serious effort to create an innovative free and open source MMORPG. Free Download
EZ Red Skin Fix is a script-fu that can be used to improve skin that has a reddish tint. Free Download
Freedom Plone Skin provides a skin based on Plone Skin Dump product. Free Download
Gst-Python provides Python bindings for the GStreamer project. Free Download
This provides simple settings for initialization for third party apps and libraries in Python. Free Download
pythondr project is a simple python library for parsing the TV-channel info at http://dr.dk. Free Download
WhiteBlack Plone Skin provides a white-black skin for Plone. Free Download
python-gdkinput is a Python binding for the gdk_input_add and gdk_input_remove functions missing in PyGtk. Free Download
Latest Software
Popular Software
Favourite Software