O
AI-generated image

compiler

/kəmˈpaɪlər/ noun · British & US
Valid in UKValid in US
Share WhatsApp

What does compiler mean?

A compiler is most familiar today as a fundamental tool of computing: a program that takes source code written in a high-level language such as C++, Java, or Rust and translates it into machine code or an intermediate form that a computer can execute directly. Compilers perform this translation all at once, before the program runs, which distinguishes them from interpreters that execute code step by step. Beyond computing, the noun also denotes a person who compiles — one who gathers material from various sources to produce an anthology, dictionary, index, bibliography, or report. This older, general sense predates the computing sense by centuries and reflects the word's Latin roots. Whether applied to software or to scholarship, the term conveys careful, systematic gathering and transformation. Understanding what a compiler does is essential literacy in modern technology, since nearly every piece of software users rely on has passed through one on its way from human-readable code to working program.

noun

A program that translates source code written in a high-level programming language into machine code or a lower-level representation that a computer can execute.

Example

"After fixing the syntax error, she ran the compiler again to rebuild the application."

This is by far the dominant sense in contemporary usage.

noun

A person who compiles or assembles a work, such as an anthology, dictionary, index, or report, from material gathered from various sources.

Example

"He was the compiler of the definitive anthology of Victorian poetry."

Older sense, still common in literary, academic, and bibliographic contexts.

Plural compilers

Standard plural, applies to both senses (software programs and people).

Example

"Modern compilers apply dozens of optimizations before producing the final binary."

Did you know?

The word 'compile' originally meant 'to plunder' — compilers literally 'plundered' texts from other sources to build new ones.

Reviewed by Deb Chak, Editor. AI-assisted content curated by RJS Tech Solutions LLP.

Etymology of compiler

The word 'compiler' derives ultimately from the Latin verb compilare, meaning 'to plunder, pillage, or snatch together', formed from com- ('together') and pilare ('to compress or pound'). In medieval Latin it came to mean gathering excerpts from existing texts into a single work — literally 'plundering' sources. English adopted 'compile' in the early fourteenth century in the sense of assembling a written work, with 'compiler' emerging soon after for the person doing so. The computing sense arose in the early 1950s alongside the first automatic programming tools.

Related word forms

How compiler is actually used

In everyday speech, 'compiler' overwhelmingly refers to the software tool used in programming; the sense of a person assembling a collection is older but still current in academic and literary contexts. Both senses are standard in British and American usage.

Easily confused with compiler

interpreter

An interpreter executes code line by line at runtime, whereas a compiler translates the entire program into machine code before execution.

assembler

An assembler translates assembly language (a low-level language) into machine code, while a compiler translates higher-level languages.

What's another word for compiler?

Words and phrases paired with compiler

cross-compilerjust-in-time compilercompiler optimizationsource-to-source compiler

Rhymes with compiler