How language designers decides whether to use compiler or interpreter?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How language designers decides whether to use compiler or interpreter??

16th Apr 2019, 3:45 AM
Sachin Dhane
Sachin Dhane - avatar
2 Answers
+ 1
Languages are actually independent of the implementation method (compiled, interpreted). It is common for people to label Python as interpreted, Java as compiled, etc, but in fact any language can either be compiled or interpreted. As such, "interpreted languages" and "compiled languages" are terms which are not well defined. Sample discussion on C++ interpreters: https://stackoverflow.com/questions/69539/ Compiling Python code: https://stackoverflow.com/questions/471191/ Putting that aside, I think what you really wanted to ask was this: https://www.quora.com/Why-do-we-use-interpreters-instead-of-using-compilers-for-everything-Is-platform-independence-the-main-reason
16th Apr 2019, 4:13 AM
Fermi
Fermi - avatar
+ 1
Thank you :) Fermi
16th Apr 2019, 5:25 AM
Sachin Dhane
Sachin Dhane - avatar