4.5.3

Translators - Compilers

Test yourself

Compilers

Translators are special software that convert source code into executable binary. Compilers are just one type of translator:

Illustrative background for CompilersIllustrative background for Compilers ?? "content

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:
    • This can make debugging easier.
  • C, C++, Visual Basic, and Swift are all compiled languages.
Illustrative background for Pros of compilersIllustrative background for Pros of compilers ?? "content

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:
    • This helps to protect developers' intellectual property.
Illustrative background for Cons of compilersIllustrative background for Cons of compilers ?? "content

Cons of compilers

  • The compilation process can be very slow:
    • This can slow down development if many small changes need to be made.

Jump to other topics

1Problem Solving

2Programming

3Data

4Computers

5Communication & The Internet

6The Bigger Picture

Unlock your full potential with Seneca Premium

  • Unlimited access to 10,000+ open-ended exam questions

  • Mini-mock exams based on your study history

  • Unlock 800+ premium courses & e-books

Get started with Seneca Premium