Just a quick question, can you do most things in C# that you can do in Visual C++?
Thanks
Andy
Just a quick question, can you do most things in C# that you can do in Visual C++?
Thanks
Andy
I ment to say is C# as powerful as C++?
Cheers
Define powerful.
If you're talking about speed and efficiency, C++ definitely beats C# hands down. If you're talking about productivity, C# is generally easier to program in and requires fewer lines of code to do the same thing in C++. But C# was created as an application-oriented programming language, while C++ is a general-purpose programming language. Both languages are powerful and how their own niches.
But don't take my word for it, try both and see for yourself.
C++ isn't THAT much faster. I ran several tests and found out that C# is only about 10% to 15% slower. This would probably be the time needed to JIT the bytecode. In any account, this speed difference is very, very minimal in most applications requiring user input, like a word processor, etc.
C# always seems to take a longer time to load from my experience. And most benchmark tests only take into account console tests. I find that C# GUI applications are subtlely less responsive.
Anyway C# currently isn't cross-platform. If I were a developer on Linux right now (or BSD, or Solaris) I wouldn't be able to find a C# compiler anywhere on the net.
I'm not trying to diss C# in any way, I'm just saying that there's still a lot of work to do. I rather like the easy syntax of the language, and it has great potential.
However I think the D language has more potential, but unfortunately no major software vendor is pushing for its development.
Nah C# sucks big-time. I'd take on C++ anytime Almost all great games I've played were programmed under MS VC++.