cancel
Showing results for 
Search instead for 
Did you mean: 

difference between script & language

Former Member
0 Kudos

What is the difference between script & language?

Accepted Solutions (0)

Answers (4)

Answers (4)

anoop_gupta2
Participant
0 Kudos

hey dips..

the biggest difference between a scripting and a language is that

in the first one we dont need to compile the code .. and the second we need to compile and create a binary executable for that..

secondly ,

scripting only gives runtime errors,while language gives compile time errors , runtime and stack overflow errors

<REMOVED BY MODERATOR>

Thankx and regards.

Anoop gupta

Edited by: Alvaro Tejada Galindo on May 20, 2008 1:15 PM

Former Member
0 Kudos

hi Dips,

the difference between scripting and language follows:

Programs are converted permanently into binary executable files (i.e., zeros and ones) before they are run. Scripts remain in their original form and are interpreted command-by-command each time they are run. Scripts were created to shorten the traditional edit-compile-link-run process. The name ’script’ is derived from the written script of the performing arts, in which dialog is set down to be interpreted by actors and actresses–the programs. Early script languages were often called batch languages or job control languages. Scripting languages can also be compiled, but because interpreters are simpler to write than compilers, they are interpreted more often than they are compiled.

Why use a scripting language?

Easy to learn - compared to traditional programming languages.

It takes much less code to do something with scripting than when using a traditional programming language.

Another characteristic of a scripting language, is that they are processed from scratch every time you run them. A nerd would say: ’scripting languages are not compiled.’

What is a compiled language?

A compiled language (like Java and C,) are processed once (think of a food processor) and reduced (if you will,) to a simpler form that allows it to run faster than a script that has to be reprocessed every tim

Former Member
0 Kudos

Language:

A programming language is an artificial language that can be used to control the behavior of a machine, particularly a computer. Programming languages, like human languages, are defined through the use of syntactic and semantic rules, to determine structure and meaning respectively.

Programming languages are used to facilitate communication about the task of organizing and manipulating information, and to express algorithms precisely. Some authors restrict the term "programming language" to those languages that can express all possible algorithms;[1] sometimes the term "computer language" is used for more limited artificial languages.

Script:

Computer languages are created for varying purposes and tasks — different kinds and styles of programming. One common programming task is known as scripting, or connecting diverse pre-existing components to accomplish a new related task. Those languages which are suited to scripting are typically called scripting languages. Many languages for this purpose have common properties: they favor rapid development over efficiency of execution; they are often implemented with interpreters rather than compilers; and they are strong at communicating with program components written in other languages.

Many scripting languages emerged as tools for executing one-off tasks, particularly in system administration. One way of looking at scripts is as "glue" that puts several components together; thus they are widely used for creating graphical user interfaces or executing a series of commands that might otherwise have to be entered interactively through keyboard at the command prompt. The operating system usually offers some type of scripting language by default, widely known as a shell script language.

Former Member
0 Kudos

Depends on what context you are looking at. A script is a language in terms of what it uses but it's also an application in terms of what it does.