Linked by Thom Holwerda on Sun 25th Sep 2005 12:05 UTC, submitted by Luis Gonzalez
General Development Shed Skin is an experimental Python-to-C++ compiler. It can convert many Python programs into optimized C++ code, without any user intervention such as adding type declarations. Its main purpose is to optimize algorithmic-like Python code, by applying advanced global type inference techniques.
Thread beginning with comment 35975
To view parent comment, click here.
To read all comments associated with this story, please click here.

Member since:

If you have heavy processing that is performance critical, a scripting langauge may well limit performance. That hardly makes scripting langauges useless. Typically, a line of a high level scripting language can replace 5-10 lines of C or C++. Since you have to pay for programming (time or money), scripting languages can be an efficient use of programmer time.

Here we a developer giving us a free tool that allows us to write Python and get C++'s performance. You have stated the obvious and he has done something to address the issue.

Reply Parent Score: 3

agentj Member since:
2005-08-19

I meant ", too" ;) The tool is nice, and I think it should help moving away from executing e.g. data processing by the slow interpreter (those SuSE config scripts take forever to complete). Anyway, even nonoptimizing converter is good, because g++ will optimize the code if necessary.

Reply Parent Score: 1