What is the difference between "SCRIPTING LANGUAGE" & "NON-SCRIPTING LANGUAGE"? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the difference between "SCRIPTING LANGUAGE" & "NON-SCRIPTING LANGUAGE"?

Can you make me understand about it?

31st Dec 2021, 12:43 PM
Mosin - avatar
2 Answers
+ 6
Non-scripted languages like C and C++ are compiled into "raw machine code" (RMC). That RMC is then run directly on the machine. Note that RMC is typically very specific to the underlying CPU/hardware AND to the supporting Operating System. So if you want to run a C program on both linux and windows, it has to be compiled for each (two copies to maintain and distribute). A scripted language is typically NOT compiled. Instead, the source code is passed to an interpreter that understands the language. The interpreter itself is typically written in a language that is itself compiled to RMC. The interpreter's task is to read the scripted language, and translate that into operations done by RMC. https://stackoverflow.com/questions/18407400/difference-between-scripting-and-non-scripting-language Other links: https://stackoverflow.com/questions/101055/when-is-a-language-considered-a-scripting-language https://www.educba.com/JUMP_LINK__&&__python__&&__JUMP_LINK-scripting-language/
31st Dec 2021, 1:01 PM
NEZ - avatar
Thanks for this beautiful answer NEZ
31st Dec 2021, 1:04 PM
Mosin - avatar