Compiled language
This article includes a list of general references, but it lacks sufficient corresponding inline citations. (January 2013) |
A compiled language is a programming language whose implementations are typically compilers (translators that generate machine code from source code), and not interpreters (step-by-step executors of source code, where no pre-runtime translation takes place).
The term is somewhat vague. In principle, any language can be implemented with a compiler or with an interpreter.
Advantages and disadvantages
Programs compiled into native code at compile time tend to be faster than those translated at runtime due to the translation process's overhead. Newer technologies such as just-in-time compilation, and general improvements in the translation process are starting to narrow this gap, though. Mixed solutions using bytecode tend toward intermediate efficiency.
With some effort, it is always possible to write compilers even for traditionally
Languages
Some languages that are commonly considered to be compiled:
- Ada
- ALGOL
- BASIC
- PowerBasic
- Visual Basic (to bytecode)
- PureBasic
- C
- C++
- C# (to bytecode)
- Carbon (programming language)
- CLEO
- COBOL
- Cobra
- Crystal
- D
- eC
- Eiffel
- Erlang (to bytecode)
- F# (to bytecode)
- Factor (later versions)
- Forth
- Fortran
- Go
- Haskell
- Haxe (to bytecode or C++)
- Java (to bytecode)
- JOVIAL
- Julia (through JIT)
- LabVIEW, G
- Lisp
- Mercury
- ML
- Nim (to C, C++, or Objective-C)
- Pascal
- Object Pascal
- Delphi
- Lazarus
- Modula-2
- Modula-3
- Oberon
- Object Pascal
- Objective-C
- PL/I
- RPG
- Rust
- Seed7
- SPITBOL
- Swift
- Vala
- Visual Foxpro
- Visual Prolog
- Zig
Tools
See also
References
- ^ Ullah, Asmat. "Features and Characteristics of Compiled Languages". www.sqa.org.uk.
- ^ Hickey, Rich. "Clojure is a compiled language", Retrieved on 11 September 2020.
External links
- Compiled Languages at Curlie