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 36049
To read all comments associated with this story, please click here.
I like the way Tcl and Perl do it...
by on Sun 25th Sep 2005 18:00 UTC

Member since:

Tcl has critcl and Perl has the Inline family of modules which let you run another language inside your script. Take Tcl and Critcl for example. If there is something you want to happen in C, you just put that code in your script do a "package require critcl" and boom that portion is passed to the C compiler creating calls that Tcl can use. Perl's Inline modules do just about the same thing.

Perl: http://search.cpan.org/~ingy/Inline-0.44/Inline.pod
Tcl: http://www.equi4.com/critcl.html

Reply Score: 1