Compare Complier, Interpreter and Assembler

Compiler: 
It's a computer program(s) that transforms source code written in a programming language into machine language that is the target language which usually has a binary form known as object code.

Interpreter:
It translates high-level instructions into an intermediate form, it translates the code into the intermediate form line by line and carries out specific actions. Compiler Takes Entire program as input whereas Interpreter Takes Single instruction as input.

Assembler:
It is a program that takes basic computer instruction(s) and converts them into a pattern of bits that the computer's processor can use to perform its basic operations. The language used to program the assembler is called assembly language

No comments:

Post a Comment