Wednesday, January 09, 2013

Shed Skin 0.9.3

I have just released version 0.9.3 of Shed Skin, a restricted-Python (2.4-2.6) to C++ compiler. This is the third maintenance release since 0.9, and as such there were (almost) no major changes.

For the full list of changes since 0.9.2, please see the release notes.

Five interesting new examples were added for this release, bringing the total to 72. Most interesting to me are Pygasus, a 1,500 line NES emulator that is able to play mario bros (Maciek "Mistrall" Żuk), as well as a pure Python implementation of timsort, the famous Python sorting algorithm (ported from java to python by Dan Stromberg).

In the meantime, the C64 emulator (see my earlier posts) has grown to about 6,000 lines of code (sloccount) but is still compiling fine (though it takes about 10 minutes here, still not that bad). I'm tempted to update the scalability graph I posted earlier.

In any case, I would like to thank the authors of the new example programs for sharing their code (maciek, dan, thomas, piotr, keegan) and those who provided improvements (danny milosavljevic) or feedback since 0.9.2.


Repy said...

Amazing. Keep up the good work!
Thank you.

Sébastien Boisvert said...

I am using import xml.parsers.expat
in a Python script.

I want to try Shed Skin.

What I get:

[@ -quota]$ echo $PYTHONPATH
[@ -quota]$ ./shedskin/prefix/bin/shedskin
*** SHED SKIN Python-to-C++ Compiler 0.9.4 ***
Copyright 2005-2011 Mark Dufour; License GNU GPL version 3 (See LICENSE)

*ERROR* cannot locate module: xml

srepmub said...

I'm afraid only about 25 standard library modules are supported. please see the online documentation for an overview of several other limitations of using shedskin, and some ways they may be overcome.

awais kamran said...

I really appreciate your hard work for this complex subject. keep the good work continue.
C++ in Urdu

Sujitkumar said...

Nice tutorial. Thanks for sharing the valuable info about c Training. it’s really helpful. Who want to learn c language this blog most helpful. Keep sharing on updated tutorials…..