|
From: Ioannis V. <no...@ho...> - 2002-07-01 16:46:15
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Ramana Kumar > Sent: Monday, July 01, 2002 4:40 PM > To: Rob; C++ > Subject: RE: [Dev-C++] C# > > > thanks rob! it's nice to hear stuff like that :) lol > for those who are interested: > > The C# language is derived from C and C++, and it was created for the > enterprise developer who is willing to sacrifice a bit of > C++'s raw power > for more convenience and productivity. C# is modern, simple, It has nothing to do with it at all (although it may be advertised as a panacea). > object-oriented, and type-safe. It borrows a lot from C and > C++, but it is > considerably different in specific areas such as namespaces, classes, > methods, and exception handling. > > C# provides you with convenient features such as garbage > collection, type > safety, versioning, and more. Basically it provides all the .NET facilities, which are available for the other languages too. Also it doesn't provide something more. > The only "expense" is that by > default your > code operates in safe mode, where no pointers are allowed. > Type safety pays > off. However, if you need pointers, you can still use them via unsafe > code--and no marshaling is involved when calling the unsafe code. > /.../ > You are provided with a runtime environment by NGWS, the NGWS > runtime. NGWS was the project name of .NET for much time ago! :) 2 years+ ago. NGWS is now called .NET the the NGWS runtime is now called Common Language Runtime (CLR). > This > runtime manages the execution of code, and it provides > services that make > programming easier. As long as the compiler that you use supports this > runtime, you will benefit from this managed execution environment. > > Your guess-that the C# compiler supports the NGWS runtime - > is correct. > However, it is not the only compiler that supports the NGWS > runtime; Visual > Basic and C++ do so also. The code that these compilers > generate for NGWS > runtime support is called managed code. The benefits your > applications gains > from the NGWS runtime are > > Cross-language integration (through the Common Language Specification) > > Automatic memory management (garbage collection) > > Cross-language exception handling (unified unwinding) > > Enhanced security (including type safety) > > Versioning support (the end of "DLL hell") > > Simplified model for component interaction All these are available for all languages too (currently only for the languages supported by VS 7 .NET, that is C++, C#, VB, Jscript(?)). Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys |