Python Basics Tutorial - compiled voice and interpreter


  Understanding the interpreter and compiler language, and cross-platform

Interpreter (science)

  The computer can not directly understand any language other than the machine out of machine language, must take programmers to write programming languages ​​for translation, it is the editor.

  The other voice translated into machine language, known as a compiler.

There are two compilers translate way, a compiler, is another explanation. Translation difference between the two lies in the different time points. When the interpreter runs by way of explanation, also known as interpreter.

Python is to interpret the speech. Translation performs a row. Slow speed of execution.

Compile voice that is compiled to generate executable file, and then after the uniform implementation. Fast execution speed.


Compiled compiled language can only be run on the system, it can not be cross-system operation.

Interpreted language, the program executes may be performed on the other system, the interpreter need only be installed on different systems.

When the source code is written, threw executed by an interpreter, the source code does not need any modification. This is interpreted languages ​​can be cross-platform.

Knowledge Summary:

  The compiler is written to the programmer to code after execution calculator, voice translated into a machine tool called a compiler.

  4 compiled and interpreted translation are two ways in which the compiler is executed with the translation is complete, execution speed.

  Interpreted the speech is translated one line one line, so the slow speed of execution.

  Compiled language is compiled on the need to perform platform compilation, it is not cross-platform.

  Only you need to write the interpreted language source code, the interpreter may be installed on different systems, and then perform, across the internet.

Guess you like