+ 1
Why we use interpreter instead of using complier..? What is the need of using interpreter
please give answer this question
1 Answer
+ 1
A compiler is a program that turns code of one programing language into another programming language. Generally, it turns high-level languages (like C) into machine executable code (like x86 or ARM instructions).
An interpretor is a program that reads code and executes it itself on the fly.
Interpretors allow for dynamic languages and cross-platform execution at the cost of speed and compile-time safety (as there is no compile time).