answersLogoWhite

0

A compiler is a program that takes a programming language like that of java and then translates it into computer language for the software user. The interpreter just ( just like that of a human interpreter) takes the foreign language which would be that of the programming language and turns it into the machine code. Both of these programs take a high-level programming language and translates them into the machine code, but the interpreter is slower to translate than the compiler because of the fact it processes and interprets each statement many times.

User Avatar

Wiki User

11y ago

Still curious? Ask our experts.

Chat with our AI personalities

JudyJudy
Simplicity is my specialty.
Chat with Judy
ReneRene
Change my mind. I dare you.
Chat with Rene
ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi
More answers

According to me compiler is better as it reads the whole program at one go and shows all the errors simultaneously (whereas interpreter reads one line at a time and shows the error one by one if any)..

-Shruti Jain
User Avatar

Wiki User

14y ago
User Avatar

Add your answer:

Earn +20 pts
Q: Which one is better between Compiler and interpreter?
Write your answer...
Submit
Still have questions?
magnify glass
imp