Why we use interpreter instead of using complier..? What is the need of using interpreter | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why we use interpreter instead of using complier..? What is the need of using interpreter

please give answer this question

14th Aug 2018, 12:00 PM
Ranjith Ranji
Ranjith Ranji - avatar
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).
14th Aug 2018, 1:07 PM
Vlad Serbu
Vlad Serbu - avatar