Developer Network> Microsoft Development Columns> Visual Studio.net Columns> VC.NET> Text
What is C / CLI? C of course refers to the C language of Bjarne Stroustrup in the Bell Laboratory, which achieves a static object model for speed and size optimization at runtime, but it is unlimited in addition to the dynamic modification of the procedure outside the heap dispensing Close to the underlying device, but almost unable to operate the activity type during the program operation, it is not possible to operate the underlying structure associated with the program. One of the main constructors of HERB SUTTER, C / CLI, called C is a "concrete" language. CLI refers to a general language structure, a multiple structure that supports dynamic component programming models, in many cases, which represents a mode with a C object model completely reversed. A treated software layer, effectively performs the system, running between the underlying operating system and the program. Operating the underlying device is limited, the activity type in the operation executation is supported by the lower structure associated with the program. The backslash (/) represents the bundle of C and CLI, this bundled details are the main discussion of this article. Therefore, "What is C / CLI" problem initially, the closest answer is: it is a bundle of static C object models to the dynamic component object programming model of the CLI. In short, it is how you use C to program in .NET, not C # or Visual Basic.net. Like C # and CLI itself, C / CLI is standardized under the host of ECMA (European Computer Manufacturers Association) to eventually comply with ISO standards. Real-time Universal Language (CLR) is a Microsoft version of CLI, which is very suitable for Microsoft's Windows operating system, similar, Visual C 2005 is an implementation of C / CLI. As a second approximate answer, I think C / CLI is the combination of .NET programming mode and C , as previously combined with C , the generic programming is previously generated. In all such combinations, the C investment of the company and the experience of developers will be saved, which is precisely the important foundation for the development of C / CLI. Read Navigation Learning C / CLI methods involving three aspects in designing C / CLI languages, which also implements all other programs development languages: First, the language grammatical mapping is mapped to the underlying General Type System (CTS). The second is the level selection of the underlying detail structure of the CLI provided by the program developer; the third is to transcend the direct support of the CLI and provide an additional functional function. From C / CLI to CTS mapping? Using the C / CLI programming time to understand the underlying CTS is very important. The CTS includes the following three common types of common classes: 1, polymorphic reference type, which is for all inheritance classes. 2, non-polymorphic value, which is used for real-time efficient specific types, such as numeric types. 3, the abstract interface type, which is used to define an operation set, or the reference or value type collection of the interface can be implemented. The details of the CLI are designed a CLI language that the second question must be considered is to integrate the underlying of the CLI into the detail level of the language. What questions are used in this language? Is this language necessary to solve these problems? What kind of program developers can this language? The problem of existing problems is very likely to face repositioning problems in the garbage collector scanning condition.
Pointer to the object can be tracked and modified in real time. Developers cannot manually track themselves, so if you make an address that may be located on the hosted pile, there is a pointer to track form in addition to the local pointer. Additional functions are very likely to face repositioning problems in the spam scanning condition. Pointer to the object can be tracked and modified in real time. Developers cannot manually track themselves, so if you make an address that may be located on the hosted pile, there is a pointer to track form in addition to the local pointer. Small junction C / CLI represents the binding of managed and local programming, which has been completed by the relatively independent of the yuan but equally, equally, and binary elements, including mixing mode (local and CTS type elementary mixing, as well as one Binary mixing of local and CLI object files), pure mode (source code level mixing of local and CTS types, all of which are compiled into CLI object files), local classification (can keep CTS types through a specific package class), Classified and CTS classification (which can be maintained). Of course, C / CLI developers can also programmatically use the CLI type, and in this way, the verificial code in the servo state can be provided, for example, as a SQL stored procedure of SQL Server 2005. Now, return to this problem, what is C / CLI? It is the best entry point for the .NET programming mode. For C / CLI, there is a migration path from C , which not only contains the bottom floor foundation of C , but also requires C programming experience, I am very satisfied with these. Full text: Perfect C : C / CLI