[阅读: 487] 2006-06-16 05:09:25
Python-to-C++ Compiler
Posted by timothy on Thursday June 15, @01:12PM
from the calibrate-your-scales dept.
Mark Dufour writes "Shed Skin is an experimental Python-to-C++ compiler. It accepts pure, but implicitly statically typed, Python programs, and generates optimized C++ code. This means that, in combination with a C++ compiler, it allows for translation of pure 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. Shed Skin also outputs annotated source code."
http://mark.dufour.googlepages.com/ 欢迎访问新版:
我读书我存在
www.freecoder.org/~phil
我爱大锁头啊!我爱大锁头!!!!