C/C++, Perl, etc. to Python converter

Diez B. Roggisch deets at nospam.web.de
Fri Jan 5 03:11:28 EST 2007


>> It is definitely _not_ possible. There are so many design decisions 
>> that are differing based on what a language offers - e.g. generators, 
>> garbage collection, precise control over memory layout and so on.
> 
>    Inter-language translators have been written.  There's usually
> a performance penalty, which can be severe when the idioms of
> the languages are quite different.

The point discussed here was not the feasibility of language-translators 
per se. These are certainly possible, yet I doubt that e.g. C++2Python 
would really come to existence.

Thomas expressed his belief that a _idiomatic_ translator was possible. 
And that certainly isn't the case.

Diez



More information about the Python-list mailing list