Programming language and scripting language

1. Meaning of script language:

The scripting language is a computer programming language created to shorten the traditional compile-link-run process. Unlike traditional programming languages ​​such as Java and C++, a scripting language does not need a compiler, it needs an interpreter. In other words, the script language is interpreted and executed. For example, there is a special software, and this special software can perform specific operations on it to interact with my software, and the set of operations is the interpreter, and the operations performed are Script language, when we organize this software operation to complete a task, this is the use of script language for programming.
Scripting language

2. The meaning of programming language:

A programming language is a formal language used to define computer programs. It is a tool that compiles and translates the code defined by the programmer into a binary code recognized by the computer. Therefore, a programming language requires a compiler.
The biggest difference between a compiler and an interpreter is that one is oriented to the computer, and the other is oriented to a certain software or a certain part of the computer.
Programming language

3. The differences between scripting language and programming language are:

  1. The scripting language does not need a compiler, saving the compilation process; while the programming language needs a compiler.
  2. The scripting language is dynamic and can change the code in real time; while the programming language cannot change the code in real time.
  3. The scripting language is easy to learn, but lacks systemicity; the programming language is relatively mature.

4. Comparison of scripting language and programming language

  1. Scripting language does not require a compiler, which saves the compilation process and reduces development time, while programming languages ​​need to be compiled, so the time is longer

  2. The scripting language is a dynamic language, which means that the code can be changed in real time without stopping the program. This is an advanced feature. Programming languages ​​such as Java are static languages. Once the compilation is completed and running, the code cannot be changed unless the program is stopped.

  3. The scripting language is very easy to learn, but it is not comprehensive and systematic, and its grammar is relatively loose. Although high-level programming languages ​​are relatively difficult to learn, they can program simple and beautiful codes with strong rules and are relatively readable.

  4. Generally speaking, scripting languages ​​have poor versatility, but they can be adjusted through special applications.

  5. With the development of technology, scripting languages ​​have become stronger and stronger, and the boundaries with programming languages ​​have become blurred. For example, Python can be regarded as a programming language because it is very powerful.

Guess you like

Origin blog.csdn.net/Serena_tz/article/details/113931571