Compiler

Maurice LING mauriceling at acm.org
Mon Apr 26 21:18:56 EDT 2004


Peter Hansen wrote:
> Steven wrote:
> 
>> Just curious, is there a python compiler?
>> Or something that creates bytecode, like java?
> 
> 
> Yes.  They are the same thing.  Javac compiles Java source
> to Java bytecode.  C compilers compile C source to
> machine-specific bytecode (called machine code).  Python
> compiles Python source to Python bytecode.  The main
> difference is that Python does this transparently behind
> your back whenever the source has change, while many other
> languages that do it require a separate manual step...
> 
> -Peter

hi,

i was wondering just how different is the python bytecode from the java 
bytecode? is there a specification for python virtual machine or sort? i 
can foresee a lot of interesting projects and uses that can stem from 
this specification.

maurice



More information about the Python-list mailing list