Professional Documents
Culture Documents
Africa Information Technology Initiative
Africa Information Technology Initiative
Technology Initiative
Lecture 1:
Introduction to Java
AITI 2009
Agenda
2
Africa Information Technology Initiative © 2009 http://aiti.mit.edu
Compiler
• A program that translates a programming language into machine
code is called a compiler
Machine Code
High-Level
Code …
ld $r1, a
… ld $r2, b
a = b + c add $r3, $r1, $r2
… Compiler
st a, $r3
…
compiler compiler
compiler
Unix
Win
Mac
compiler
Interpreter
Interpreter
Unix
Interpreter