[COMP 202] - Final Exam Guide - Ultimate 164 pages long Study Guide!
jc123 and 40170 others unlocked
100
COMP 202 Full Course Notes
Verified Note
100 documents
Document Summary
It would be a bit boring to program in binary or machine language. Compilers takes a program written in a high-level language (eg, java), and turns it into machine code. An interpreter takes a single line of code entered by the user and turns it into machine code, and then you execute it. Profound consequences in efficiency, expressibility, ease of use. (not so important ^ ) No 2 some compilers don"t produce machine language. Actually the java compiler, called javac, produced so-called bytecode . Machine code for a pc won"t work on a. Mac, machine code for a mac from 2011 won"t work on a 2015 model. Example: an app for a game is made. You often have to choose which machine you are working on when you download stuff. - they"ve compiled their code/game/software for each particular architecture. This is a problem when it comes to distributing things on the internet.