Home>Article> What is an interpreted language

What is an interpreted language

王林
王林 Original
2021-02-02 18:03:20 19030browse

Interpreted languages exist relative to compiled languages. Its source code is not directly translated into machine language, but is first translated into intermediate code, and then the intermediate code is interpreted and run by the interpreter, such as Python , java, shell, etc.

The operating environment of this article: windows10 system, thinkpad t480 computer.

Detailed introduction:

Interpreted languages exist relative to compiled languages. The source code is not directly translated into machine language, but is first translated into intermediate code, and then the interpreter interprets it. The intermediate code is interpreted and run. For example, Python/JavaScript/Perl/Shell are all interpreted languages.

Interpreted language definition: The program does not need to be compiled. The program is translated into machine language when it is run. It must be translated every time it is executed. Therefore the efficiency is relatively low. For example, Basic language has a dedicated interpreter that can directly execute Basic programs, and each statement is translated when it is executed. (It is translated when the program is running. There is a dedicated interpreter for translation. Each statement is translated when it is executed. The efficiency is relatively low, it relies on the interpreter, and it has good cross-platform performance).

The above is the detailed content of What is an interpreted language. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What system is tms system? Next article:What system is tms system?