python \ java \ c \ interpreted languages \ compiled language program execution

c is a purely compiled languages, FIG performed as follows:

 

C can be seen by the preprocessor, compiler, assembler and linker generate a binary executable object file, and then run directly (essentially a compiled language).

 Java is an interpreted language and the python, but not pure interpreted languages, to be precise, after the source file is loaded or explicitly interpreter bytecode compiler generates byte code file , the file bytecode runtime direct interpretation of the interpreter top edge run (nature interpretive language).

java implementation process:

A.java (source) -----> A.class (bytecode files) -----> run directly on the interpreter

python implementation process

a.py (source) -----> a.pyc or a.pyo (bytecode files) -----> run directly on the interpreter

 

ps: bytecode (Byte-code) is comprising executing a program by a sequence of op (opcode) code / data of binary files, an intermediate code. Byte is the amount of data the computer unit.

 

Guess you like

Origin www.cnblogs.com/jiaoqiang/p/11117176.html