python concept summary

High-level language

  Closer to people's thinking, more advanced, the biggest feature is

    Easy to write

    For people easier to read

    Portability, with some slight modifications, can be used across platforms

    Typical language: python, java, c, c ++, c #, php, ruby, go, etc.

Machine language

  Closer to machine language, machine language easier to read

    The advantage is

      Execution speed

    weakness is

      Poor readability

      Non-portable

      Not easy to write

    Typical language: assembly language, machine language

Compiled language:

  Source - >> compiler - >> object code - Actuator >> - >> output

  Compiled only once to compile the source code into machine code execution without recompiling

  Because the former needs to be compiled into machine code execution, it is necessary to re-copy the source machine to be transplanted when the code transplantation, re-compiled machine code

  Generally used in large-scale application development, systems development, language development, database development, software development and other graphics

  advantage:

    Execution speed

    After compiling the program can not be modified, the package is good, good secrecy, hidden source

  Disadvantages:

    Porting gender differences

  Typical languages: C, C ++, Pascal

Interpreted language:

  Source code - the intermediate code >> - >> interpreter - >> output

  Compiled on each execution, so slow compared to the speed

  Because need to be recompiled before execution, so the code is running, we need to rely on an interpreter to run

  advantage:

    Portability

    Relatively more advanced, easier to learn and write

    Code modifications convenient, easy to develop and debug

  Disadvantages:

    Compared interpreted language running slow

    Dependence interpreter

  Typical language: python, Shell, Ruby, Javascript, etc.

  

   

  

Guess you like

Origin www.cnblogs.com/todo000/p/11578718.html