Difference between compiler based and interpreter based language
Compiler based
A compiled language is a type of programming language that generally is compiled or all the errors are given in on time. The program gets converted into machine language and then is runed. This also can be time consuming for large programs. Some examples of compiler based C, C++, C#, CLEO, COBOL, etc-.
Interpreter based
This language directly executes the available programs or binaries or executables without converting them to machine codes. They have only syntax and semantics analysis phases of compilation. They don't have machine code generation phase.
Difference
- Compiler based program use less recourses than interpreter based programs.
- Compiler based programs consumes less resources than interpreted programs
- Interpreter based language in simpler to learn and use than compiler based
Comments
Post a Comment