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 36010
To read all comments associated with this story, please click here.
This opens a host of possibilities...
by on Sun 25th Sep 2005 16:04 UTC

Member since:

Many thanks to Mark Dufour. A very cool project. I wonder if it might be possible to generalize something like this more, like converting Parrot Code, which is supposed to be an intermediate language for a slew of scripting languages, to C++, and thus take care of Python, Ruby, Smalltalk, etc in one step.

Reply Score: 1

Member since:

Parrot isnít that hot anymore. Most people in other language cams got their own thing, and lots of Perl people are falling out with the way things look for them (Perl 5 is dead, Perl 6 not in sight, and Parrot appears to be to bloated since it tries to produce a VM for all, but nobody is interested).
The >>one VM for all<< idea isnít all that popular. Just look at how much people bitch about .NET. But anyway this was about Python not about the large amount of other languages out there.

Reply Parent Score: 0

the_trapper Member since:
2005-07-07

I think the cooling off of excitement over Parrot, Perl 6, and all of that is just due to people being sick of waiting for them to become production ready. People need solutions now, and Parrot just isn't here yet.

The "one VM for all" idea is extremely popular, look at all of the language implementations that run on .NET and the Java VM (including Iron Python and Jython respectively). If you don't believe me, google for it. Before you dismiss Jython, it is extremely popular, and stands a good chance of becoming part of a future Java release.

The people bitching about .NET are mostly bitching because it is a Microsoft technology. Everyone I know who has actually sat down and tried to write something in C# has been thoroughly impressed, it is an incredibly fluid and intuitive programming language. I am by no means a Microsoft fanboy, but I will admit that Microsoft hit the nail on the head with C# and .NET. It is a drastic improvement over traditional Windows development tools. Another group of people who bitch about .NET are the VisualBasic developers, but that's just because MS made some major and not backwards compatible changes to their pet language, to shoehorn it into the .NET runtime.

Another argument for "one VM for all" comes on the server side of things. Say you need to run a Python app, a Perl app, a PHP app, and a Java app all on the same server. Your memory usage is going to go through the roof, as are the number of processes you need to run. (Yes I know PHP, Perl, and Python can be run via Apache modules, but you still get my point.) Another problem is trying to get all of these disparate server processes to talk to each other in a clean manner. Not to mention that from a network administrator's perspective, configuring, securing, and maintaining such a setup is nothing short of frustrating.

Reply Parent Score: 1