← Back to Blog
[Compiler] Overview
computer-science > development
2026-03-101 min read
#development #programming #cs
Interpreter and Compiler
Interpreter
Compiler
Hybrid compiler
- Source program을 번역(compiler)해서 intermediate program으로 만들고, virtual machine(interpreter)로 최종 해석한다.
Cross compiler
- 하드웨어가 달라질 때 번역해주는 compiler
Language processing system
Source program
|
v
+---------------+
| Preprocessor |
+---------------+
Modified(Extended) source program
|
v
+---------------+
| Compiler |
+---------------+
Target assembly code
|
v
+---------------+
| Assembler |
+---------------+
Relocatable machine code
|
v
+---------------+
| Linker/Loader | <-- Library routines
+---------------+
|
v
Target machine code
(executable, binary code)