CPP's future (mainly compared to Java)

xiaoxiao2021-03-06  44

First of all, declare: I am still a C learner, if there is no right, please forgive! The more contact C , the more you feel that it is not so bleak! ! For now C and Java's tat strokes, I want to talk about some personal opinions!

Many people think that Java grabs C 's limelight. First of all, we have to determine that a language is not bad. Java is more suitable for fast architectures because it is mainly based on the Beans library, it is very engineered. C has very high requirements for programmers. It is basically in and c, there are more assembly backgrounds, object-oriented semantics is the construction of comparative low-level semantics. Simply put, Java is mainly used for some fast-high-level development, and C features a long development cycle, but it is mainly for the development of the underlying, interface technology! In fact, the functionality of both is not the same. But it is worth a declaration that most Java design can be implemented in C , but it is only a longer cycle!

Quoted in the previous sentence "Java is like a C outside, although not directly genetic, but also a few different like. Sprinkle a lot of urine when playing in the body, two people should not This is quarreling. "The development speed of the Java platform is very fast, but this is not contradictage the number of C users. As a general-purpose language / platform, Java has completed a lot of basic operations for users, and even the types such as large integers have been packaged, and users only need to transfer the corresponding package and call. However, C adheres to the style of the C language "trusted programmer", will be given to the user as much as possible (of course, the hosted C also has many protection measures for the resources according to the multi-year model), and users must be in many In addition, it is decided to derive the type derivation of the type of security under the conditions of storage management, abnormal conditions. Both are completely different, Java security, but C is very efficient, this rule determines that C will still be a mainstream language in a considerable time, and will play a leading role of language innovation. STL standardization and extensive application, and the deep people of the generic concept have laid the mainstream position of C 's unmovable third-generation language.

However, the emergence of J2EE and J2ME may have certain consolidation of Java, but I think that J2EE J2ME may develop trends in the future. That is to do some of the specific functions with very little code. Mainly the development of plugins!

Microsoft Technique is committed to the expansion and extension of C (for example, C #), so from one side, I think Microsoft technology will get greater improvement in the future! Therefore, I think Microsoft technology is an development trend in the future! !

After laughing, declare again, I am just a C beginner. I don't know if the above speech is correct! If there is something wrong. I hope that you will point out, criticize! !

转载请注明原文地址:https://www.9cbs.com/read-79679.html

New Post(0)