General class library

xiaoxiao2021-03-06  41

First, what is a general class library Universal class library is a particular programming language that has supported a supported library environment (programming environment and runtime environment) in various platforms. For example, it is a C strCMP function that can be used directly without modification in each platform. However, we know that complete general is impossible, and universal general is very difficult. So this is to discuss the construction and design considerations of Linux and Windows's general class libraries. Second, why now Linux is getting more and more red, we assume that there is 10% (including the D version), then there is a use Linux in your 10 friends, when a friend asks you how to set up, Your first question may be: What operating system? Looking at the government's software, 10% of the share seems to be tentacles, as a government software vendor, has to consider the general class library between Linux and Windows. Simply put, if you give up 10% of Linux users is a 10% chance; on the other hand, if the additional cost required to develop software based on universal class library development software is advantageous. The provider as a general class library is extracted in this 10% additional cost. When Linux has increasingly high, the benefits of the Providers of the General Class library are more and more. Don't forget, if you plan to provide this class library, you should reserve some of the people you will give you in 18 months, and what you will use after 18 months. So we now think about the situation after 36 months. Third, Basic Elements (1) GDI / GUI (2) Database (3) Communication (4) Remote Call / Collaborative Calculation (5) Data Exchange (6) Messaging (7) Process Thread (8) Synchronization Mechanism (9) Drive Program (10) Reuse Mode (11) Intermodulation Interface (12) XML Support (13) Development / Debug Tools (14) WebService Support IV, Java Unfinished Task Java is very good at universal class libraries. There is a good support in addition to the drivers in various elements. The driver can also be supported through JNI, just not gain more extensive use. The application is not applied in a key task due to the issue of performing efficiency. It is said that in the near future, 6.0 can be compiled into a machine code and then execute it. It is believed that the bottleneck in this regard has a certain mitigation. V. C / C Unfinished tasks In fact, C / C has a richest library than Java. Therefore, most of the embedded C / C is written, the operating system is written in C / C and so on. However, in a modern programming environment (GDI / GUI, database, communication), there is no well-supported general support, just remember that Borland's CLX has done such an attempt. 6. Building a general class library, how do we build common class libraries? The first thing to consider is what language is used. Java is very versatile, if the execution efficiency is not harsh, it can be satisfied. C performs high efficiency, is applied in more occasions, but the gate threshold is high, which has created high cost. WebService also has certain versatility because Apache can run in Windows and Linux. If you write the language you need, it is not possible, but it is necessary to write the basic elements described above. It is the advantage that the non-general company can do, unless the language has the advantages of existing languages. Second, consider existing results. The existing results include the results of the organizational results and other suppliers (programming language vendors). In general, developers in upstream are more inclined to organize their own historical results, even if there is no existing results in this area, rarely consider the results provided by other suppliers. Developers in downstream more inclined to other suppliers.

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

New Post(0)