Compilers

A compiler is a specialized software program that translates source code written in a high-level programming language (like C++, Java, or Python) into a lower-level language, typically machine code or assembly code, that a computer's central processing unit (CPU) can directly execute. This…

Key facts

First appeared
1952
Category
technology
Problem solved
Compilers were created to bridge the vast gap between human-understandable programming languages and the machine-level instructions a computer's processor can execute. They automate the laborious, error-prone, and machine-specific task of translating high-level code into efficient machine code, drastically improving programmer productivity, enabling code portability, and abstracting hardware complexities.
Platforms
Unix-like systems, macOS, Linux, WebAssembly (as a target), Embedded systems, Mainframes, Windows

Related technologies

Notable users

  • Microsoft (C++, C#, Visual Studio Compiler)
  • Google (GCC, Clang/LLVM for C++, Go, Java, Dart, JavaScript V8)
  • Apple (Clang/LLVM for Swift, Objective-C)
  • Red Hat (GCC, various language toolchains)
  • IBM (compilers for various enterprise languages and platforms)
  • Every software development company, academic institution, and open-source project