![]() |
|
|
#3 |
|
Архивный участник
Join Date: Oct 2005
Posts: 21
|
Using C# over C++ is all personal preference for me, I've used C++ so much I just wanna try something different.
And yes C# is newer then C++, the advantages of C# is that its "managed", meaning I don't have to worry about keeping track of the memory I use in my applications. In C++, you have to worry about freeing memory you use or risk memory leaks, this is all taken care of by C#'s garbage collector. Another advantage of C# is it has retardedly simplistic syntax and is 100 times easier to use "out of the box" then C or C++. The disadvantages of C# is that no mater how much they refine it, it will never match the performance of C++ in terms of speed. But don't get me wrong, C# isn't that much slower then C++, but sometimes every little bit counts. Now I've matched the speed of C++ in a couple of my C# apps, but that was using unsafe code, but thats another matter all together. Another disadvantage is that despite any claims, its NOT supported 100% by anything other then windows XP. Win9x and Win2000 have good support (you'll still get the occasional NotSupportedException tho), but for Linux use you have to rely on Mono and its shaky support at best. You're typical app will work, but for critical apps, you're asking for trouble. My advice, continue to learn C++ before C#. You'll want to be 100% comfortable with object oriented programming before diving into C#. plus knowing C++ will never hurt. |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|