PickerSite - new3
  Members Area
  Home
  Best selection
  Search Code
  Entry Form
  Contact
  zoho
  Forum
  new
  new1
  new2
  new3
  u1
  u2
  x1
  x2
  code segment
  currency converter
  sms gateway
  surfing
  pop3 mail server
  sms exel
  radio
  guitar lesson 1
  love songs
  band original
  computers
  business plan
  business plan2
  processor
  sim card
  O S
  asus MB
nce the 1950s, computer scientists have devised thousands of programming languages. Many are obscure, perhaps created for a Ph.D. thesis and never heard of since. Others became popular for a while then faded due to lack of support or because they were limited to a particular computer system. Some are variants of existing languages, adding new features like parallelism- the ability to run many parts of a program on different computers in parallel.

Read more about What is a programming language?

Comparing Programming Languages

There are several ways to compare computer Languages but for simplicity we'll compare then by Compilation Method and Abstraction Level.

Compiling to Machine Code

Some languages require programs to be transformed directly into Machine Code- the instructions that a CPU understands directly. This transformation process is called compilation. Assembly Language, C, C++ and Pascal are compiled languages.

Interpreted Languages

Other languages are either Interpreted such as Basic, Actionscript and Javascript, or a mixture of both being compiled to an intermediate language - this includes Java and C#.

An Interpreted language is processed at runtime. Every line is read, analysed, and executed. Having to reprocess a line every time in a loop is what makes interpreted languages so slow. This overhead means that interpreted code runs between 5 - 10 times slower than compiled code. The interpreted languages like Basic or JavaScript are the slowest. Their advantage is not needing to be recompiled after changes and that is handy when you're learning to program.

Because compiled programs almost always run faster than interpreted, languages such as C and C++ tend to be the most popular for writing games. Java and C# both compile to an interpreted language which is very efficient. Because the Virual Machine that interprets Java and the .NET framework that runs C# are heavily optimized, it's claimed that applications in those languages are as fast if not faster as compiled C++.

Level of Abstraction

The other way to compare languages is level of abstraction. This indicates how close a particular language is to the hardware. Machine Code is the lowest level with Assembly Language just above it. C++ is higher than C because C++ offers greater abstraction. Java and C# are higher than C++ because they compile to an intermediate language called bytecode.

 

How Languages Compare

  • Fast Compiled Languages
  • Assembly Language
  • C
  • C++
  • Pascal
  • C#
  • Java
  • Reasonably Fast Interpreted
  • Perl
  • PHP
  • Slow Interpreted
  • JavaScript
  • ActionScript
  • Basic

Details of these languages are on the next two pages.

Advertisement

About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Today, there have been 1 visitorson this page!
This website was created for free with Own-Free-Website.com. Would you also like to have your own website?
Sign up for free