Python Written in C?

Grant Edwards grante at visi.com
Wed Jul 23 09:52:05 EDT 2008


On 2008-07-23, mk <mrkafk at gmail.com> wrote:
>> Actually, all of the compilers I'm familiar with (gcc and a
>> handful of cross compilers for various microprocessors)
>> translate from high-level languages (e.g. C, C++) into
>> assembly, which is then assembled into relocatable object
>> files, which are then linked/loaded to produce machine
>> language.
>
> Doesn't g++ translate C++ into C and then compile C?

No.

> Last I heard, most C++ compilers were doing that.

A decade or two ago there were some C++ front-ends that did
that, but I don't think it's common in modern C++ compilers.

-- 
Grant Edwards                   grante             Yow! Oh, I get it!!
                                  at               "The BEACH goes on", huh,
                               visi.com            SONNY??



More information about the Python-list mailing list