What programming language does python belong to? What language does python language belong to?

Hello everyone, the editor is here to answer the following questions for you, what type of programming language does python belong to, and what type of language does python language belong to? Now let’s take a look together!

Summary: python is a dynamic, interpreted, strongly typed language

1. Compiled and interpreted

Compilation is to compile each statement of the source program into machine language and save it into a binary file. In this way, the computer can directly run the program in machine language at runtime, which is very fast.
Advantages: Compilers generally have a pre-compilation process to optimize the code . Because compilation is only done once and does not require compilation at runtime, compiled language programs have high execution efficiency. Can run independently of the locale.
Disadvantage: If you need to modify it after compilation, you need to recompile the entire module. When compiling, machine code is generated according to the corresponding operating environment. There will be problems when transplanting between different operating systems. Different executable files need to be compiled according to the running operating system environment.

Interpretation is only when the program is executed, it is interpreted into machine language one by one for the computer to execute, so the running speed is not as fast as the compiled program.
Advantages: Good platform compatibility, can run in any environment, provided that the interpreter (virtual machine) is installed. Flexible, you can modify it directly when modifying the code, and it can be deployed quickly without downtime for maintenance.

Disadvantages: It needs to be interpreted every time it is run, and its performance is not as good as compiled languages.

2. Move

Guess you like

Origin blog.csdn.net/chatgpt001/article/details/132969375