Python Written in C?

cokofreedom at cokofreedom at
Tue Jul 22 09:03:14 CEST 2008

On Jul 22, 5:59 am, Larry Bates < at`> wrote:
> Grant Edwards wrote:
> > On 2008-07-22, Larry Bates < at`> wrote:
> >> You talk about "writing it in assembly language for each MPU
> >> chip".  Actually it is even better than that.  We now have
> >> these modern inventions, called compilers that do that type of
> >> work for us.  They translate high level instructions, not
> >> into assembler but into machine language.
> > 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.
> I just learned something I did not know.  I was under the impression that they
> translated directly to machine code without ever actually generating Assembler
> text files.  Seems like a waste to generate the text and turn around run that
> through the assembler, but what do I know.  I guess that way the compiler can
> have pluggable assembler back-ends.
> -Larry

I also I have just learned something new! Troll threads are useful.

More information about the Python-list mailing list