Answer to Question #90170 in Physics for Shivam Nishad

Question #90170
What is the difference between a compiler
and an interpreter in a computer ?
1
Expert's answer
2019-05-29T09:39:44-0400

Answer:

Both compiler and interpreters convert higher level programming language used by humans to machine code executed by computer. However, a compiler will convert the code into machine code (create an exe) before program run. Interpreters convert code into machine code when the program is run. Generally, complier has more room for optimization since it is analyzing the whole program and has more time for conversation to machine code.


References:

  1. https://www.guru99.com/difference-compiler-vs-interpreter.html
  2. https://hackernoon.com/compilers-and-interpreters-3e354a2e41cf
  3. https://www.programiz.com/article/difference-compiler-interpreter

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS