中国开发网: 论坛: 程序员情感CBD: 贴子 343560
pigprince: Python-to-C++ Compiler
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

我爱大锁头啊!我爱大锁头!!!!

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录