There is no point in comparison.
A compiled program would execute faster than an interpreter running the same code step by step.
combination of interpreter and compiler.
Neither one will be categorically "better" than the other. In general, compilers produce more efficient programs, while interpreters produce more reusable code (platform independence).
its an interpreter
because the compiler convert whole of the sentence once into the machine langauge but the interpreter convert one by one
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.
# An interpreter translates from source code to machine code on-the-fly; a compiler does it all before the program is executed. # Compilers can spend a lot of time on analysis and optimization, allowing for (generally) better performance of code.
A htm file is interpreted, not compiled. A browser acts as the interpreter.
You will have to ask the compiler and interpreter writers that question. What I can tell you with certainty, at one time all programs were hand assembled.
Interpreters
Assembler Interpreter Compiler
need to get to mars