SCRIPTING LANGUAGE

​Today we’re going to talk about the SCRIPTING LANGUAGE ….

A scripting language is a programming language that employs a high-level construct to interpret and execute one command at a time. In general, scripting languages are easier to learn and faster to code in than more structured and compiled languages such as C and C++.

Compiled languages are converted permanently into executable files before they are run. In contrast, scripting languages are typically converted into machine code on the fly during runtimeby a program called an interpreter. Although this approach can cause performance problems because the instructions are not handled solely by the processor, it does make it easier for scripts to work with programs written in other languages.


Over time, as just-in-time compilationhas improved performance and intepreted programming languages like Perl, Python and Ruby have evolved, the lines have begun to blur about what should, and what should not, be classified as a scripting language. Today, it is generally agreed that the classification should not be determined by the language itself, but rather by how the language is being used.


When a scripting language is used to connect disparate system components, it may also be referred to as a glue language.  In addition to being interpreted, such scripting languages are also typeless, allowing a variable to hold any type of data without having to explicitly declare its type. Usually, glue languages also provide native support for specific aggregate data types such as arrays and automate garbage collection to reclaim abandoned storage and prevent memory leaks.

Scripting languages like JavaScript are often used to facilitate enhanced features of websites. These features are processed on the server, but the script on a specific page runs on the user’s browser. Many Web sites require that the user’s browser be set to run scripts to take advantage of all the features of the site. In some cases, a Web site may be practically useless unless the user’s computer is set to run programs locally in a scripting language.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s