English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

6 answers

The main difference between the two is that one runs with the help of an interpreter" and one is "compiled" to run as an executable on a given operating system.

With a "normal" programming language (I would rather call it a "traditional" programming language), code is written and the code is then compiled to create a program that will run when accessed (using a command line or with the Windows "Double-click"). An example of this is a program written in C, C++ or Visual Basic (for Windows Systems).

In a scripting language, an external program is used to "interpret" or execute by-proxy the code that is within a script. Examples of this are PERL and Python.

2007-06-14 01:55:50 · answer #1 · answered by Tony 2 · 1 0

Any Programming language has two sides: the front side which is often seen and used by human, and the back side which is sometimes used directly by machine (a compiled program executed directly by machine) or sometimes used by a dedicated software (a script run on an interpreter).

The difference between a compiled programming language and a script language may not be transparent when seen from the front side. The difference lies in the back side. The only noticeable difference would be the need to a compiler for the compiled programming language.

A script normally does not need a software to compile but does need a software to run on, or as called in the older terms, to be interpreted by.

JavaScript needs the browser program, for instance, and PHP and Perl need a server interpreter program.

Naturally, a complied program is normally faster than a script in doing exactly the same algorithm.

2007-06-14 02:31:13 · answer #2 · answered by ʃοχειλ 7 · 0 0

Scripting vs. programming: is there a difference?
The short answer: These days, the line between a scripting language and a programming language is blurred. As such, in practical application, the differences are meaningless. So the answer is: no.

Some details … what a nerd might tell you: Scripting or writing scripts, is programming within a program. Traditionally you would write scripts to automate certain functionality within another program. Traditionally scripts would have very specific task like for example: reading a text file to extract all the email addresses.


Good information in the site below:

2007-06-14 01:54:16 · answer #3 · answered by Andy G 4 · 0 0

a scripting language IS a programming language...

The only difference really is that normal programming techniques compile the code into the 1s and 0s that the computer understands (an .exe. file for example) so it can be executed...

A scripting language isn't compiled prior and the interpreter reads the code (such as in a dynamic webpage) and compiles and executes in on-the-fly

2007-06-14 01:57:11 · answer #4 · answered by Anonymous · 0 0

The scripting program/macro is contained and executes within an application like Excel for example...
The quote normal programming to which you referr will create a stand alone application which can run independently.

2007-06-14 02:44:33 · answer #5 · answered by MarkG 7 · 0 0

a scripting language is more difficult to learn as its instructions for a server, .e.g. php is a scripting language, any language you create will have to be put onto a serveer to be able to work,

2007-06-14 01:54:31 · answer #6 · answered by pure_english_nut 2 · 0 0

fedest.com, questions and answers