|
From: Ramana K. <ra...@my...> - 2002-07-01 13:42:01
|
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, 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. 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. 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 -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Rob Sent: Monday, 1 July 2002 11:05 PM To: dev...@li... Subject: Re: [Dev-C++] C# The way I've heard it characterized by a few people I know is that C# is Microsoft's Java-killer of the week. I'm actually more interested in using Java for Java-esque tasks, if that's the case. It's becoming a fairly mature language, and C# is brand new (and married to Microsoft, presumably). C# is no threat to C++, and even if it was, the skills one picks up while learning C++ are invaluable. Heck, learning C++ is even making me a better Python programmer! Rob Andrews http://uselesspython.com Ramana Kumar wrote: > ok, cool, so C# is interpreted? (and always will be? - i guess it has to be) > that is great news to me. > from what i read tonight (on the internet at various places) C# is designed > primarily at enterprise level, to drastically increase productivity and > convenience at the cost of a loss in C++'s raw power. > so, i guess C# is more a replacement of java than of c++? > cristian wrote that he is learning c# and that it can do all that c++ does > and is as easy as vb (which are all correct for this purpose) and it just so > happens that i was in the middle of writing a long program using win32api in > c++ which i anticipate to finish in a year or two (one man job!). my fear > was that i should be looking at switching to c# in this early stage of > development. it seems now, hopefully, that c++ is still the way to go? > thanks cristian and others > ramana > > -----Original Message----- > From: Teodorescu Cristian [mailto:te...@xt...] > Sent: Monday, 1 July 2002 10:16 PM > To: Ramana Kumar > Subject: Re: [Dev-C++] C# > > > Ramana Kumar wrote: > > >>I'm sure we can all feel it's presence. >>And i feel it also oozes Microsoft's presence too. >> >>anyway... i know this is the dev-c++ mailing list, and i love dev-c++, but >>since you are all supposedly c++ programmers like me, could someone please >>explain to me what is c#? I've read a lot of stuff about it tonight on the >>internet, so i know a bit about it. >>are any of you learning it? >> >> > Yes i learn C# > > >>who should learn it? >> >> > Depends it seems to replace java > > >>what's it really for? >> >> > evrithing you want need :-) > it can do all c++ do and is easy as vb so ... i > > >>is c++ still going to be as widely used? >> >> > yes beacuse c# is a interpreted language by .net machine (as i know)and > like java windows app are sloow sa c++ is a fast alternative > you can't write time critical app in c# or java so ... > > >>or am i way off track in asking that? >>i know there is a free c# compiler somewhere (haven't looked into that yet >>though), as well as obviously the micro$oft visual c#... is bloodshed >>considering starting a c# editor/compiler? >> >> > www.microsoft.com > framework sdk has a c# compiler, > > >>does anyone know much about .NET? it seems i might have to get a bit more >> > of > >>an understanding of .NET because information on c# assumes you know what >>.NET is all about. >>the whole .NET and c# thing looks great for all the benefits people are >>raving about, but the first thing i felt when i saw so many c# books in a >>bookstore and not enough c++ ones is a bit of fear that my native language >>is being overridden lol - not exactly a legitimate fear, but hey >>so anyway, any information on c# would be appreciated >>thanks >> >>ramana >> >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Dev-cpp-users mailing list >>Dev...@li... >>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >> >> >> > > best regard Teodorescu Cristian > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > -- "Giving the Linus Torvalds Award to the Free Software Foundation is a bit like giving the Han Solo Award to the Rebel Alliance." --Richard Stallman at the 1999 LinuxWorld show ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dev-cpp-users mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |