Compiled language: Difference between revisions
From Coderwiki
More actions
new |
m fix grammar mistake in info |
||
| Line 1: | Line 1: | ||
A '''compiled language''' is type [[programming language]] where, instead of stepping through each [[Computer instructuction|instruction]] of a [[program]] (like an [[interpreted language]]) the [[source code]] is converted into [[machine code]] by a [[compiler]]. | A '''compiled language''' is a type of [[programming language]] where, instead of stepping through each [[Computer instructuction|instruction]] of a [[program]] (like an [[interpreted language]]) the [[source code]] is converted into [[machine code]] by a [[compiler]]. | ||
During compilation, the [[compiler]] generally converts the [[source code]] into [[intermediate representation]], and finally into [[machine code]]. | During compilation, the [[compiler]] generally converts the [[source code]] into [[intermediate representation]], and finally into [[machine code]]. | ||
Revision as of 21:01, 12 August 2025
A compiled language is a type of programming language where, instead of stepping through each instruction of a program (like an interpreted language) the source code is converted into machine code by a compiler.
During compilation, the compiler generally converts the source code into intermediate representation, and finally into machine code.
Bytecode languages
For some programming languages, instead of directly compiling to machine code, the source code is instead converted to a format known as bytecode.
This bytecode can't be directly executed by the CPU, but can be interpreted using an interpreter, often known as a process virtual machine.