Changes

The C Sharp Language and Environment

1 byte added, 19:57, 30 January 2008
A Brief History of Computer Programming Languages
Next came a series of ''high level'' languages designed to make it easier for humans to write programs. These programs are written using a human readable syntax and then either compiled to machine code by a ''compiler'' or interpreted on behalf of the processor by an ''interpreter''. Such languages include BASIC, COBOL, Pascal and Fortran. One other such language is called ''C'' which was created at AT&T Bell Labs in the late 1960's and early 1970's. In the late 1970's and early 1980's work started on an object oriented approach to C programming culminating in a new, object oriented variant of C known as ''C++''.
The story, however, does not end there. The problem with C++ was that it was an incredibly easy language in which to make programming mistakes. C++ would quite happily allow a programmer to make coding mistakes that would cause buffers to overflow, memory location locations to be arbitrarily overwritten and introduce memory leaks that would cause applications to bloat to the point of using up the entire physical memory and swap space on a system. Another problem encountered with C, C++ and all other compiled languages is the fact that the source code has to re-compiled for each different processor type making it difficult to port an application from one hardware platform to another.
In order to address the short-comings of C and C++, Sun Microsystems started work on a new programming language and execution environment in the 1990's. The end result was called Java. Java consists of a programming language with many of the pitfalls of C++ removed, a portable intermediate byte code format, a runtime environment (called the ''virtual machine'') that execute the byte code and handle issues such as memory management, and vast suite of libraries providing all the functionality required to develop enterprise class applications (such as networking, file handling, database access, graphics etc).