Shed Skin Optimizing Python-to-C++ Compiler 0.0.10
Hi all, I have just released version 0.0.10 of Shed Skin, an optimizing Python-to-C++ compiler. It allows for translation of pure (unmodified), implicitly statically typed Python programs into optimized C++, and hence, highly optimized machine language. Many non-trivial benchmarks (ray tracer, chess player, othello player, sat solver, 3 sudoku solvers..) run typically 2-40 times faster than when using Psyco, 12 times on average, and 2-220 times than when using CPython, 45 times on average. Besides many bug fixes, this release adds many error messages for unsupported features, so it should be much easier to try out the compiler and work around problems. Please download this new release from http://mark.dufour.googlepages.com and let me know about any problems/successes. Thanks, Mark Dufour. -- if vars: self.output('; '.join([self.type(var)+' '+name for (name,var) in vars.items()])+';')
Hi all, I have just released version 0.0.18 of Shed Skin, an optimizing Python-to-C++ compiler. It allows for translation of pure (unmodified), implicitly statically typed Python programs into optimized C++, and hence, highly optimized machine language. Many non-trivial benchmarks (ray tracer, chess player, othello player, sat solver, 3 sudoku solvers..) run typically 2-40 times faster than when using Psyco, 12 times on average, and 2-220 times than when using CPython, 45 times on average. It is not yet possible to use arbitrary library modules (many common imports are supported though), or to automatically create extension modules, but this will be the focus of development over the coming time, along with support for iterators. Besides many bug fixes and optimizations, this release should work fine on OSX and 64-bit systems. More information about Shed Skin can be found at the homepage: http://mark.dufour.googlepages.com. To show how far Shed Skin is at the moment, I added a collection of 25 programs (at a total of more than 6,000 lines!) that compile and run fine to the homepage. Most (implicitly statically typed) programs still need to be modified a bit to compile, and much larger programs than these will probably not work yet.. Thanks, Mark Dufour. -- "One of my most productive days was throwing away 1000 lines of code" - Ken Thompson
participants (1)
-
Mark Dufour