Compile is the creation of an executable program from code written in a compiled programming language. Compiling allows the computer to run and understand the program without needing programming software used to create it. When a program is compiled it is often compiled for a specific platform (e.g., IBM platform) that works with IBM compatible computers, but not other platforms (e.g., Apple platform).
The first compiler was developed by Grace Hopper while working on the Harvard Mark I computer. Today, most high-level languages include a compiler or have toolkits available to compile the program and convert programs into machine language. Two popular compilers are Eclipse for Java and gcc command for C and C++. Depending on how big the program is, it should take a few seconds or minutes to compile. If no errors are encountered while being compiled, an executable file is created.
What is compile time?
The compile time is the total time it takes a compiler to compile code into a program that can be run by the computer.
Scripting languages, like Perl and PHP, do not need to be compiled and use an interpreter to run.
A-0, AOP, Assemble, Binaries, Compilation, Intermediate language, Interpreted language, JIT compiler, LLVM, One-pass compiler, Programming languages, Programming terms, Recompile, Transcompiler
Related information
- How to create a computer program.
- Computer programming history.