what is the diffrent between scripting language and another programming language
for example with perl and tcl/tk you can create a whole application i know it is not fast as c++ or c why not to consider it as progamming language
Scripting Language
Started by
salah
, Mar 30 2005 06:56 AM
5 replies to this topic
#1
Posted 30 March 2005 - 06:56 AM
#2
Posted 30 March 2005 - 04:13 PM
U don't need compiler to compile scripting language but when U use non-scripting language, U need a compiler such as C/C++, java and others.
#3
Posted 30 March 2005 - 09:32 PM
Dear Friend,what is the diffrent between scripting language and another programming language
The primary difference between a "programming language" (C, C++, VB etc.) and a "scripting language" (PHP, ASP, JSP, JavaScript, VBScript)is that code written in a programming language needs to be compiled before it is run. Once it is compiled, it can be run any number of times.
Scripting languages, on the other hand, are interpreted at run-time. This means that every time you want to run the program, a separate program needs to read the code, interpret it, and then follow the instructions in the code. Compiled code has already been interpreted into machine language, so it is will typically execute faster because the conversion into machine language has already been done.
Markup languages (HTML, XML) are somewhat different from both of the others. A markup language is simply a set of tags that are used to "mark up" text documents so that sections of text can be logically arranged and labeled. These documents can be viewed as plain text, or, more commonly, are viewed through a browser. The browser parses the document, looking for markup tags, and it then arranges the text and/or formats it according to the values in the tags....
Additonally,....Not all programming languages are compiled the same. C/C++ and VB are compiled languages, Java can be considered compiled or not depending on your definition of compiled. Perl is interpretted and very much considered a language... there are others that fall into this category as well.
ASP is a construct of JScript, VBScript or C# and is not really a language as much as a way of using a language for server side development.
JSP is a shortcut method for developing servlets. JSP pages are converted to Java source code and then compiled into servlets.
#4
Posted 31 March 2005 - 03:53 AM
Guys you must go to this site and it give a very good explaination of the difference
http://home.pacbell..../scripting.html
Still in doubt do write back
http://home.pacbell..../scripting.html
Still in doubt do write back
#5
Posted 31 March 2005 - 05:10 AM
thanks for explanation
#6
Posted 31 March 2005 - 12:48 PM
Here is more:
- Variables in scripting languages are typeless whereas variables in programs need to be declared as a particular type and have memory allocated to them.
- A script is interpreted line by line every time it is run
- A true programming language is compiled from its human readable form(source code) into a machine readable form (binary code) which is delivered to the user as a program.
- Variables in scripting languages are typeless whereas variables in programs need to be declared as a particular type and have memory allocated to them.
- A script is interpreted line by line every time it is run
- A true programming language is compiled from its human readable form(source code) into a machine readable form (binary code) which is delivered to the user as a program.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












