The time during which source code is validated and converted to machine code by a compiler
This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Compile time" – news · newspapers · books · scholar · JSTOR(January 2023) (Learn how and when to remove this message)
Program execution
General concepts
Code
Translation
Compiler
Compile time
Optimizing compiler
Intermediate representation (IR)
Execution
Runtime system
Runtime
Executable
Interpreter
Virtual machine
Types of code
Source code
Object code
Bytecode
Machine code
Microcode
Compilation strategies
Ahead-of-time (AOT)
Just-in-time (JIT)
Tracing just-in-time
Compile and go system
Precompilation
Transcompilation
Recompilation
Notable runtimes
Android Runtime (ART)
BEAM
Common Language Runtime (CLR) and Mono
CPython and PyPy
crt0
Java virtual machine (JVM)
LuaJIT
Objective-C and Swift's
V8 and Node.js
Zend Engine
Notable compilers & toolchains
GNU Compiler Collection (GCC)
LLVM and Clang
MSVC
v
t
e
In computer science, compile time (or compile-time) describes the time window during which a language's statements are converted into binary instructions for the processor to execute.[1]
The term is used as an adjective to describe concepts related to the context of program compilation, as opposed to concepts related to the context of program execution (runtime).
For example, compile-time requirements are programming language requirements that must be met by source code before compilation and compile-time properties are properties of the program that can be reasoned about during compilation.
The actual length of time it takes to compile a program is usually referred to as compilation time.
^"A History of Computer Programming Languages". Retrieved 2022-12-25.
In computer science, compiletime (or compile-time) describes the time window during which a language's statements are converted into binary instructions...
cross-compiler itself runs. A bootstrap compiler is often a temporary compiler, used for compiling a more permanent or better optimised compiler for a...
templates can include compile-time constants, data structures, and complete functions. The use of templates can be thought of as compile-time polymorphism. The...
computing, static dispatch is a form of polymorphism fully resolved during compiletime. It is a form of method dispatch, which describes how a language or environment...
consistent way. This checking can happen statically (at compiletime), dynamically (at run time), or as a combination of both. Type systems have other...
program's execution time, memory footprint, storage size, and power consumption (the last three being popular for portable computers). Compiler optimization...
runtime without knowing the names of the interfaces, fields, methods at compiletime. It also allows instantiation of new objects and invocation of methods...
example, a compiler that runs on a PC but generates code that runs on Android devices is a cross compiler. A cross compiler is useful to compile code for...
passed to an interpreter which executes it. Programs compiled into native code at compiletime tend to be faster than those translated at runtime due...
static, catching potential errors at compiletime, or dynamic, associating type information with values at run-time and consulting them as needed to detect...
term can refer either to the memory ordering generated by the compiler during compiletime, or to the memory ordering generated by a CPU during runtime...
lightning CMUCL and Scieneer Common Lisp implementations of Common Lisp can compile either to native code or to bytecode, which is far more compact Common...
innovative solutions for this, e.g., by handling metaobject issues at compiletime. A good example of this is OpenC++. The Semantic Web object-oriented...
operate on objects of various types while providing compile-time type safety". The aspect compile-time type safety was not fully achieved, since it was shown...
program is intended to be run. The name comes from the compiletime and runtime division from compiled languages, which similarly distinguishes the computer...
compiletime solution is: classB.setStringData(classA.getStringData()); However, suppose that the format of the string data must be varied. A compile...
function pointer type, whose value is unknown until it is evaluated at run-time. Rebinding should not be confused with mutation or assignment. Rebinding...