Deep Dive: Compiler vs Interpreter
Part of Translators — GCSE Computer Science
This study notes covers Deep Dive: Compiler vs Interpreter within Translators for GCSE Computer Science. Revise Translators in Languages & IDEs for GCSE Computer Science with 15 exam-style questions and 8 flashcards. This topic appears regularly enough that it should still be part of a steady revision cycle. It is section 5 of 7 in this topic. Use this study notes to connect the idea to the wider topic before moving on to questions and flashcards.
Topic position
Section 5 of 7
Practice
15 questions
Recall
8 flashcards
Deep Dive: Compiler vs Interpreter
| Aspect | Compiler | Interpreter |
|---|---|---|
| Translation | Whole program at once | Line by line as it runs |
| Output | Creates executable file | No file created |
| Errors | Reports all errors after compilation | Stops at first error found |
| Execution speed | Fast (already translated) | Slower (translates each time) |
| Distribution | Can share without source code | Must share source code |
| Development | Slower (recompile after changes) | Faster (run immediately) |