六年不见,Shed Skin!

自从 上次提及 Shed Skin, 已经时隔六年之久。Shed Skin是一个受限的Python to C++ 编译器(Python 2.4-2.6)。此时此刻,其开发工作仍处于急速进展当中。Shed Skin 已经在GSOC 和GHOP 项目中派上用场。它现在已经能够生成拓展模块;后者可被用在更大的Python程序中。Shed Skin 样例程序之一,一个半成品的C64 仿真器,现在可以在较快的PC上在一分钟之内编译完成。目前为止总共已经有64个不小的样例程序。正如对静态编译器所要求的那样,许多情况下, Shed Skin 性能都比PyPy要好。不过我们当然得承认,PyPy限制更少些,而且同样也在急速地成长。

logo.png

转载请注明:Linux人社区> 英文资讯翻译专版.编译

英文原文:
Shed Skin 6 Years Later
posted by mark dufour on Mon 16th Jan 2012 13:32 UTC
It has been 6 years since we last mentioned Shed Skin, a restricted-Python to C++ compiler (Python 2.4-2.6). In the meantime, development has continued at a rapid pace. Shed Skin has taken part in the GSOC and GHOP projects. It is now able to generate extension modules, which can be used in larger Python programs. Its type inference engine has become orders of magnitude faster. One of the Shed Skin example programs, a work-in-progress C64 emulator is now compiled in under a minute on a fast PC. In total there are 64 non-trivial example programs. As may be expected from a static compiler, performance is better than when using PyPy in many cases. Though of course we have to mention that PyPy is much less restricted, and also improving at a rapid pace.   

你可能感兴趣的:(六年不见,Shed Skin!)