Home  >  Article  >  What is the ultimate goal of compiling a program?

What is the ultimate goal of compiling a program?

藏色散人
藏色散人Original
2019-06-17 14:56:2425051browse

What is the ultimate goal of compiling a program?

What is the ultimate goal of compiling a program?

The ultimate goal of the compiler is to compile the source program into a target program.

Compiler (compiling program), also called a compiler, refers to a translation program that translates a source program written in a high-level programming language into an equivalent target program in machine language format.

The compiler is a translation program implemented using a generative implementation approach. It takes a source program written in a high-level programming language as input, and a target program expressed in assembly language or machine language as output. The compiled target program usually also goes through a running stage in order to run with the support of the running program, process the initial data, and calculate the required calculation results.

Compiler phrases can be understood in two ways.

1. Compiling a program is an action that is translated into machine language binary code by a high-level programming language compiler based on compilation principle technology.

2. Compiler is a gerund, specifically referring to the software program that generates the compiler.

The above is the detailed content of What is the ultimate goal of compiling a program?. 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