Compiler

A compiler is a program that takes programs in high-level language the source code. and tranlates them into object code (Object code is  machine language that a computer can execute directly such as assembly language.) It looks at entire source code to translate and optimise the instructions. If the program is long, it will take some time to compile. The resulting object code will run much faster than interpeted code as no translaation needs to take place ar run-time. No compiler needs to be available during run-time. This means that, once the software has been developed the, object code can be distributed to users who do not need the development environment on their compters. 