Current location - Quotes Website - Famous sayings - The birth of C# language
The birth of C# language
upstairs, let's just do it, and you dare to post regardless of C# and C.

Copy the interview with Anders Hejlsberg of Xinyun Network, and tell the behind of C#:

During CNET News.com's interview with Hejlsberg, the most outstanding software designer of Microsoft, the two sides discussed the origin of C# and the future of Web services.

when Microsoft needs a new technology to ensure its dominant position in the software industry, it needs Anders Hejlsberg's help.

For thousands of software developers who use Borland Turbo Pascal and Delphi to program, Anders Hejlsberg, a 4-year-old software master, is the one who created these two popular software development tools.

Now Microsoft hopes to win the support of software developers through its latest product-C# software development language. In Microsoft's new market strategy of migrating Windows operating system and software to the network, C # language is the most important link.

after years of hard work, C# has become the most powerful weapon for Microsoft to counter the Java language. Six years ago, Sun, Microsoft's old rival, launched the Java language, which was fully supported by Oracle and IBM.

At present, major software companies are scrambling to port their applications to Internet services for handheld devices and personal computers, so Microsoft hopes that software companies will use C# language to write their own Web-based software and services. Similarly, Microsoft also hopes that businesses can use the. Net family of e-commerce software to run Web services. Yes, Microsoft hopes to defeat Java with C#.

But at present, C# is still at a disadvantage. After all, Java has gone through six years of ups and downs, and C# is still in its infancy. The official version of C# will not be put on the market until the end of the year at the earliest.

market analysts believe that Microsoft hopes to use C# to prevent the original C++ developers from investing in the Java camp. For example, C# imitates various features provided by Java, including "garbage collection" and "general engine" that can be developed by using various languages.

during CNET News.com's interview with Hejlsberg, the two sides discussed the origin of C# and the future of Web services. Hejlsberg also made a special explanation on the advantages of C# compared with Java.

q: what was the reason for creating C#? Is it an upgrade of C++ language? Can it be said that C# is a weapon against Java?

a: C# is developed on the basis of the past. It should be said that it mixes the essence of previous development languages, but C# will not be the ultimate language to end other development languages. This is an evolving world, and C# just needs to face the market.

among several design goals of C# language, ensuring the high productivity of programmers is the most important one. When we designed C#, we started with the familiar C++ and simplified the language. We hope to give C# language the power and flexibility of C++ and the simplicity and ease of use of VB. C++ really needs to be upgraded, but we strive to add more new features-such as "debris collection mechanism"-while making as few changes as possible.

q: so who are the developers for whom C# is mainly aimed? C++, Java or Visual Basic?

a: C# language is inherited from c and C++, and it belongs to the same language system as Java. Therefore, C# is mainly for C and C++ developers.

q: do you think C# will do well in the competition with Java?

a: you need to note that the introduction of Java is five years ahead of the. Net platform. And our official. Net product has not been put on the market. Our company will not rely on the existing beta C# for market competition. However, the company believes that the performance of the C# beta is in line with the expected level.

q: what are the reasons to persuade developers to abandon Java and use C#?

a: when it comes to Java, most people are talking about the development language, but Java is sometimes used as a system running platform. The company's C# is a pure development language, and. Net can be said to be its running platform.

I can say that C# is closer to C++. Java is inherited from C++, but when you look at its modules, you will find that something is omitted. While C# retains more features of C++.

C# language introduces component-oriented features, methods and events for the first time. For example, when you click the mouse, you can declare an event called "click". Also in the Java language, developers have to simulate features and events. Although developers can do the same thing through a component module called "Java Bean", it is much more difficult than in the C# development environment.

in addition, interoperability is one of the important characteristics of C#. Java always takes platform independence as its selling point, but we think it is most important to support the existing software code. C# can provide excellent code interoperability (such as existing C++ code) and does not require developers to add compatible code.

in addition, there is one obvious difference between Java and C#. When Microsoft started the development of C# two or three years ago, it noticed how to make C# more suitable for the needs of the new Internet application world, and Java only supplemented the Web service later.

q: every major software vendor is proposing its own version of Web services. For example, users can conduct interactive business activities through mobile phones, but most of these promises are empty promises. When do you think Internet services will really flourish?

a: first of all, I think the development of technology is gradual. Today, people use the Internet, which is largely an interaction between people and machines. At first, people will use Email and schedule in the portal, but gradually they will get more application services on the network. I believe that the services that people need every day will be integrated into smart devices and personal computers. This progress will be natural.

at present, we have to wait for the arrival of broadband network, and we also need wireless devices to have greater data throughput. All aspects of technological development will go hand in hand.