Compiler converts the code into Machine level language from the first line to the last and then when the program is actually executed, it uses the machine level code. An interpreter converts it to machine level when it runs. Another difference is, compiler will show all errors in the code at once. In case of interpreter, it shows one at a time. I.e. when the interpreter encounters an error, it won’t go to the next line without fixing the error in the current line.
dellive OP t1_jebekth wrote
Reply to ELI5: Why do people grow plants in greenhouse ? Is it more efficient than growing plants outside ? by dellive
Thanks all for the insight.