Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How did Java come into being

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

In this issue, the editor will bring you about how Java is produced. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.

Java was designed by James Gosling,Patrick Naughton,Chris Warth,Ed Frank and Mike Sheridan at Sun Microsystems in 1991. It took 18 months to develop the first version. The language was originally called "Oak" and changed its name to "Java" in 1995. From the introduction of Oak in the autumn of 1992 to the public release of Java in the spring of 1995

Language, many people have contributed to the design and improvement of Java. Bill Joy,Arthur van Hoff,Jonathan Payne,Frank Yellin and Tim Lindholm are the main contributors, and it was their contributions that matured the original prototype.

It is somewhat surprising to say that the original driving force of Java was not the Internet! It stems from the need for a platform-independent (that is, architecture-neutral) language that creates software that can be embedded in a variety of household appliances such as microwave ovens and remote controls. The CPU chips used as controllers are varied, but the drawback of C and C++ and most other languages is that they can only be compiled for specific targets. Although it is possible to compile C++ programs for any type of CPU chip, doing so requires a complete C++ compiler targeting that CPU, and creating a compiler is a costly and time-consuming task. Therefore, a simple and economical solution is needed. To find such a solution, Gosling and others began to work together to develop a portable, cross-platform language that can generate code that runs in different environments and on different CPU chips. Their efforts eventually led to the birth of Java.

While some of the details of Java were designed, a second and most important factor emerged, which will play a vital role in the future of Java. This second factor is, of course, the World wide Web (WWW). If the shaping of the World wide Web (WWW) and the implementation of Java do not happen at the same time, then Java may maintain its useful but obscure state for consumer electronics programming languages. However, with the emergence of the World wide Web, Java has been pushed to the forefront of computer language design, because the World wide Web also needs portable programs. When most programmers get involved in programming, they know that portable programs are as elusive as their ideals.

Although the pursuit of efficient, portable (platform-independent) programming is almost as old as programming history, it always gives way to other more pressing issues. In addition, because the computer industry is monopolized by three competitors, Intel,Macintosh and UNIX, and most programmers work in one of these areas for a long time, the need for portable languages is less urgent. However, with the advent of the Internet and Web, old questions about portable languages have been raised again. After all, the Internet is made up of different, distributed systems, including various types of computers, operating systems, and CPU. Although many types of platforms can connect to the Internet, users still want them to be able to run the same programs. A problem that used to be troublesome but does not require priority has now become an urgent problem to be solved.

In 1993, members of the Java design team found portability problems that they often encountered when writing embedded controller code, which also appeared in the process of writing Internet code. In fact, Java, which began to be designed to solve small-scale problems, can also be used on a wide range of the Internet. This understanding led them to shift the focus of Java from consumer electronics to Internet programming. Therefore, the need for a neutral architecture programming language was the driving force behind the birth of Java, while Internet ultimately led to the success of Java.

As mentioned earlier, most of the features of Java are inherited from C # and C++. Java designers did this on purpose mainly because they felt that using the familiar C syntax in the new language and imitating the object-oriented features of C++ would make their language more attractive to experienced Cpico programmers. In addition to the superficial resemblance, other factors that contributed to the success of C and C++ also helped Java. First of all, the design, testing, and refinement of Java are done by people who are really engaged in programming, and it is rooted in the needs and experience of the people who designed it, so it is also a programmer's own language.

Second, Java is tightly integrated and logically coordinated. Finally, in addition to the constraints imposed by the Internet environment, Java gives programmers complete control. If you program well, the program you write will reflect this. On the contrary, if your programming skills are poor, it can also be reflected in your program. In other words, Java is not a language for training beginners, but a language for professional programmers.

Because of the similarity between Java and C++, it is easy to think of Java as "the version of C++". But in fact, this is a misunderstanding. There are important differences between Java and C++ in practice and theory. Although Java is influenced by C++, it is not an enhanced version of C++. For example, Java is neither upward nor backward compatible with C++. Of course, there are many similarities between Java and C++. If you are a C++ programmer, you will feel very familiar with Java. Another point is that Java is not designed to replace C++, Java is designed to solve certain problems, while C++ is designed to solve a completely different kind of problem. The two will coexist for a long time.

The innovation of computer language is driven by two factors: the adaptation to the change of computing environment and the progress of programming art. The change of environment makes Java, a platform-independent language, destined to become a distributed programming language on Internet. At the same time, Java has also changed the way people program, especially Java's enhancement and improvement of the object-oriented paradigm used by C++. Therefore, Java is not an isolated language, but the result of the evolution of computer language over the years. This fact alone is enough to prove the position of Java in the history of computer language. Java has the same impact on Internet programming as C does on system programming: the power of revolution will change the world.

This is how the Java shared by the editor came into being. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report