Trying to compare to find the best translator among assembler, interpreter & compiler? and confused why? Well, let's ponder upon this topic in today's post.
Well, this question is asked by Manoj Kumar, one of the members
Show your love! Share this page!
Computer Languages are used to instruct computers to carry out do the required tasks automatically. You write the instructions in correct sequence and the computer will process them one after another to complete the task for what the program was created.
Computer languages are of two kinds - low-level languages (Machine language & Assembly language), and
Because machines can directly execute programs written in the machine-level language you don't need to do anything else before you run the program. But in the case of programs written in Assembly language and
Assembler is the kind of language processor (translator) that converts a program written in assembly language into machine language.
Interpretors are the language processors that take each statement in turn to translate and give it to the processor to execute before it fetches next statement to translate. Because it translates one statement at a time and are the language processors that take each statement in turn to translate and give it to the processor to execute before it fetches next statement to translate.
Compilers are the kind of language processors that takes the
Now, back to your question. You'd like to know which one among assembler, interpreter and compiler
As you read the discussion above, each translator is for different language and specific requirement. If your program is in assembly language, there is no other choice, you must use assembler, so, no comparison at all!
But for programs written in high-level language, you have two options - interpreters or compilers. You'll use an interpreter to test and debug your program until it is in the final version. Compiling unfinished program every time to find the error is really troublesome. So interpreter will be best in such situations.
However, after the program is complete and ready for distribution, you need to compile it and create packages. For that purpose, compilers are the best ones.
Thus, in my opinion, the's nothing like best and worst among assemblers,
the best translator among assembler, interpreter & compiler? and why?