Compilers
Computer Science: OCR A Level, topic 2.2.10
Compilers
Translators are software that turn source code into executable binary. Compilers are a type of translator.

Compilers
- Compilers translate the whole of a program in one go.
- Compilers will provide a list of errors once it has attempted the compilation process:
- The list of errors makes debugging easier.
- C, C++, Visual Basic, and Swift are all compiled languages.

Pros of compilers
- Compilers produce an executable program:
- There is no need to repeat this process more than once per version of the software.
- Compilers hide the source code from the end user:
- Hiding the source code helps to protect developers' intellectual property.

Cons of compilers
- The compilation process can be very slow:
- A slow compilation process can slow down development if many small changes need to be made.
Test yourself on Compilers
Choose the correct statement about compilers in each pair.
Why does making lots of small changes slow down development for a compiled program?