Python Written in C?

Tim Roberts timr at probo.com
Wed Jul 23 00:42:41 EDT 2008


Larry Bates <larry.bates at websafe.com`> wrote:
> 
>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. 

Some do, some don't.  It's an implementation chioce.  gcc generates a text
file and pipes it to gas.  The __asm__ directive just adds strings to the
assembler file.

Visual C++ generates machine language.  The compiler has to include an
assembler for inline assembly.
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list