Compilation
In computing, compilation is the process of translating a program written in a high-level language into a form suitable for execution, typically machine code or an intermediate representation such as bytecode. A compiler performs this transformation in a series of stages and may produce a standalone executable or a library.
A typical compiler consists of a front end and a back end. The front end performs lexical
The back end translates the intermediate representation into target code for a specific architecture, applies optimizations,
There are several forms of compilation. Ahead-of-time compilers generate native machine code before execution, while bytecode
Compilation has a major impact on performance, portability, and toolchain design. Early compilers played a central