Wednesday 25 July 2012

Genesis of Java Language


C and C++ are the programming languages that provides a basis for Java. Java derives its syntax from C and object oriented features from C++. Later in this chapter we will discuss the reasons and the section of events that lead to the creation of Java. 

Programming Language innovation occurs to solve a fundamental problem that the preceding languages were not able to solve and java is no different.  

C Programming Evolution -


In early 1970's there was a need of a structured programming language that could replace the assembly code when creating system programs.This lead to the creation of C that shocked the programming world. Even today its power cannot be underestimated. Operating Systems like LINUX, UNIX are coded in C. Various factors need to be considered before using a programming language such as -
  • Ease of Use vs. Power
  • Safety vs. Efficiency
  • Rigidity vs. Extensibility
Before C Language, options available to programmers were FORTRAN, BASIC, COBOL, ASSEMBLY LANGUAGE. While one was easy to make scientific applications but not system programs, other was easy to learn but not powerful. They were not even structured to. GOTO was the primary means of program control (resulting in a lot of spaghetti code). While language like PASCAL was structured they were not designed for efficiency, PASCAL was not considered for systems-level code.



No comments:

Post a Comment