[Turn your own article] C ++CLI, A Savior or A DEVIL?

xiaoxiao2021-03-06  43

C / CLI is the latest version of Microsoft Visual C under beta.Let me explain the name first: C is the programming language we all should be already familiar with; CLI stands for Common Language Infrastructure, aka .NET platform, the "/. "in the middle means the integration of C with CLI It now uses some new keywords for managed coding, such as: String ^ str = gcnew String. (" "); Originally in .NET 1.0 or 1.1, when Microsoft announced Visual C . . NET, a term "Managed C " was introduced "Managed" means we can create object that can be automatically deallocated from memory by GC Since Managed C sticks very loyal to ISO C , the code looks quite ugly:. full with "__gc" stuff. What's more, it only counts for a "second-class" language under .NET. Many "traditional" Visual C programmers chose to switch to C #, a first-class language coming with .NET, or to abandon .NET or Microsoft Platform Completely.that's When The Idea of ​​A New Sort of Visual C Come Into Sight. Created by Stan Li ppman and Herb Sutter, C / CLI provides programmers the ultimate control in .NET environment with a very high level of access to .NET class libraries, while at the same time allows the most "traditional" way of C programming. Does this sound pleasing or annoying to you? to me, this is really cool, and makes me feel the "comeback" of C to .NET. and this is somewhat the same approach (spirit?) taken by C geeks when they introduced C in the dominance of C.

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

New Post(0)