Practical Universality
v There seem to be many ways in which computers are
different …
o Carburetor computer, laptop computer, cell-phone computer
o Software for the Mac doesn’t work on a PC and vice versa
; Though computers mostly have the same instructions,
their encoding in binary numbers is different …
v A compiler is a translator from a programming
language to the machine language of a computer
VB-to-C1
Compiler
Computer C1
Application
written in VB
VB-to-C2
Compiler
Computer C2