1
The scripting language is slower than the compiled language, because the compiler language can pin a value to a location that can be accessed through the generated machine directives. The scripting language must be looked up from the table each time.
Approximate structure:
A preprocessor for removing annotations, whitespace, marking tokens, and expanding abbreviations;
compiler, used to generate assembly language.
Connector to connect the library.
Assembler: produces machine language.
The early-at-the-time compiler compiles C + + into the C language, which is then compiled into assembly language by the C compiler.
--------------------------------------------------------------------------------------------------------------- --------------------------------------
The whole process of compiling is probably as follows:
The symbol table serves the entire compilation process.
With semantic analysis as the front and back end, the task of the front end is to analyze semantics, and the back end task is to generate equivalent code.
Often the compilation process is divided into multiple passes (each pass is a small part of the compilation process), each pass can correspond to different front and back pass.
The way of programming language practice