I. Definition of individual
Markup language
Markup language, which is a combination of text and other information related to text, shows the computer text encoding of the structure of the document and the details of the data processing. Additional text-related information, such as the structure and presentation of text, is combined with the original text, but is identified with a tag (markup).
such as: HTML, XML
scripting language
The scripting language is a computer programming language created to shorten the traditional authoring-compile-link-run (edit-compile-link-run) process. Its name originates from a script "screenplay", which repeats the dialog box verbatim each time it is run. Early scripting languages are often referred to as bulk processing languages or work control languages.
A script is usually interpreted as running rather than compiled. Scripting languages often have simple, easy-to-learn, easy-to-use features that are intended to allow programmers to quickly write programs.
such as: JavaScript, VBScript, PHP
Compiled languages
Compiled language: The program needs a special compilation process before execution, the program is compiled into machine language files, the runtime does not need to re-translate, directly using the results of the compilation is OK. High efficiency of program execution, relying on compiler, poor cross-platform
such as C, C + +
Second, the difference
1, markup language is not used to send instructions to the computer, often used for formatting and linking.
2, scripting language between markup language and programming language, scripting language scripting language does not need to compile, can be used directly, by the interpreter to be responsible for interpretation.
3, the compiler language written program execution, need a special compilation process, the program compiled into machine language files, such as EXE files, later to run without re-translation, directly using the results of the compilation (EXE file), because the translation is only done once, the runtime does not need to translate, Therefore, the program execution efficiency of the compiled language is high.
What are the differences between programming language Markup Language scripting languages?