BZU PAGES: Find Presentations, Reports, Student's Assignments and Daily Discussion; Bahauddin Zakariya University Multan Right Header

HOME BZU Mail Box Online Games Radio and TV Cricket All Albums
Go Back   BZU PAGES: Find Presentations, Reports, Student's Assignments and Daily Discussion; Bahauddin Zakariya University Multan > Welcome to all the Students > Articles

Articles Articles About Computer, internet, webmasters, mobiles etc.


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 13-07-2008, 08:26 PM   #1
Scripting Languages & Compiled Languages
BSIT07-01 BSIT07-01 is offline 13-07-2008, 08:26 PM

Compiled Languages

The language in which you write an application is not actually something that your computer understands. Your code needs to be translated into bits and bytes that can be executed by your computer. This process of translation is called compilation, and any language that requires compilation is referred to as a compiled language. Examples of compiled languages include C, C#, and Java.

For a compiled language, the actual compilation is the final step in the development process. You invoke a compiler -- the software program that translates your final hand-written, human-readable code into machine-readable code -- and the compiler creates an executable file. This final product is then able to execute independently of the original source code.

Thus, if you make changes to your code, and you want those changes to be incorporated into the application, you must stop the running application, recompile it, then start the application again.

Scripting Languages


On the other hand, a scripting language such as Ruby, PHP, or Python, relies upon an application's source code all of the time. Scripting languages don't have a compiler or a compilation phase per se; instead, they use an interpreter -- a program that runs on the web server -- to translate hand-written code into machine-executable code on the fly. The link between the running application and your hand-crafted code is never severed, because that scripting code is translated every time it is invoked -- in other words, for every web page that your application renders.

As you might have gathered from the name, the use of an interpreter rather than a compiler is the major difference between a scripting language and a compiled language.

 
BSIT07-01's Avatar
BSIT07-01
Addicted to Computer


Join Date: Sep 2007
Location: ------------
Age: 34
Posts: 1,309
Contact Number: ---------------
Program / Discipline: BSIT
Class Roll Number: 07-01
Views: 1243
Reply With Quote
Reply

Tags
compiled, language, languages, programming, scripting, tutorial


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
12 facts about the world's languages .BZU. Chit Chat 0 01-04-2011 05:28 AM
How to install Urdu font in windows xp to run any Uni coded Application (Installing east asian languages) .BZU. PC and Windows Tutorial 0 08-03-2010 02:10 AM
How to Transliterate in Gmail:Gmail offers automatic transliteration option; converts Roman characters to different languages .BZU. How to ? 1 26-10-2009 12:33 AM
History of the C family of languages, Assignment #1 .BZU. Visual Programming 0 04-10-2009 03:18 PM
The top 10 languages spoken in the world usman_latif_ch Chit Chat 0 04-10-2009 09:54 AM

Best view in Firefox
Almuslimeen.info | BZU Multan | Dedicated server hosting
Note: All trademarks and copyrights held by respective owners. We will take action against any copyright violation if it is proved to us.

All times are GMT +5. The time now is 03:13 PM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.