interviews.dotnetthread.com

↑ Grab this Headline Animator

Wednesday, October 22, 2008

Difference between scripting language and a programming language?

In Scripting language code will be interpreted at run-time. That is every time we want to run the program, a separate program needs to read the code, interpret it, and then follow the instructions in the code. (Examples for Scripting languages: PHP, ASP, JSP, JavaScript, VBScript etc.)

With Programming language code will be compiled before it is run. Once it is compiled, it can run any number of times. Because compiled code are already been interpreted into machine language, so it is typically faster than scripting language. (Examples for Programming languages: C, C++, C# etc.)

Scripting languages must be embedded with markup laguages (like HTML) but programming languages are stand alone.

Programming langaues have complier to generate machine dependent code or some other.
Every programming language have own compiler.

A programming language is used for building standalone projects, or "applications".
A scripting language is used to write "scripts" that interact with other data or systems to perform parts of a task rather than an entire workflow.

Submit this story to DotNetKicks

No comments:

Post a Comment

Post your comments/questions/feedback for this Article.

 

Latest Articles