What is the difference between Scripting Languages and Programming Languages? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

What is the difference between Scripting Languages and Programming Languages?

There are some great Programming languages - Java, C++, C# etc. But In my knowledge there is only one Scripting language which is JavaScript. Whats the difference in these languages?

17th Jun 2017, 9:24 AM
Pravin Pandey
Pravin Pandey - avatar
16 Answers
+ 8
Ok, and is there only one scripting language? js
17th Jun 2017, 9:38 AM
Pravin Pandey
Pravin Pandey - avatar
+ 6
Ok. can we use scripting languages for the same purpose as we use progrmng lnguags?
17th Jun 2017, 9:30 AM
Pravin Pandey
Pravin Pandey - avatar
+ 6
Thanks @Haris for the links...
17th Jun 2017, 10:01 AM
Pravin Pandey
Pravin Pandey - avatar
+ 6
Think of scripting language as a jpg on your disk while progtamming language as an exe on disk. Now what happens when you click exe, it loads directly in memory and has direct access to system resources. While when a jpg is clicked it is always opened in a client window (picture viewer) and jpg only has access to those system resources that are allowed through client window. Similarly a scripting languages like js always need a client (one client is browser) and has access to system resources allowed by browser. In case of programming language, operating system is directly reading the language while in case of scripting language a client is reading (interpreting) the language and then presenting it to operating system.
17th Jun 2017, 12:29 PM
Muhammad Irfan
Muhammad Irfan - avatar
+ 6
Which means for web applications we can use JS. that is why people use it with html.
17th Jun 2017, 2:49 PM
Pravin Pandey
Pravin Pandey - avatar
+ 6
Now I understand the whole story.
17th Jun 2017, 2:49 PM
Pravin Pandey
Pravin Pandey - avatar
+ 6
Well said @Michael other wise computer languages seems similar to one another.
19th Jun 2017, 5:48 AM
Pravin Pandey
Pravin Pandey - avatar
+ 5
@Pravin Pandey Happy to help. ☺
17th Jun 2017, 10:02 AM
Haris
Haris - avatar
+ 4
simple difference is that programming language are first compiled while scripting doesn't
17th Jun 2017, 9:27 AM
P R
P R - avatar
+ 3
Script languages are more limited in comparison to full programming languages.
17th Jun 2017, 9:31 AM
Haris
Haris - avatar
+ 3
Generally speaking, programming languages are compiled, scripting languages are interpreted. A simple example : Your internet browser is a compiled program that is designed to interpret HTML, CSS and JavaScript and output a visible webpage.
19th Jun 2017, 5:36 AM
Michael Macaulay
Michael Macaulay - avatar
+ 3
@pravin did you check my Platinum code?
18th Jul 2017, 4:57 AM
Ranjan Bagri
Ranjan Bagri - avatar
+ 2
What would R be?
19th Jun 2017, 11:11 AM
Sylvia Holcer
Sylvia Holcer - avatar
+ 2
Full programming languages have a wider range of applications than scripting languages. Another difference is that Scripting languages are used to provide programming capabilities to other languages such as html
16th Jul 2017, 7:22 PM
Elugbaju Iyanuoluwa
Elugbaju Iyanuoluwa - avatar
+ 1
@Sylvia Holcer R is a scripting language for data analysis and reporting, its pretty much similar to MatLab in my opinion.
18th Jul 2017, 2:33 PM
Food
Food - avatar