Post by bmOh I've seen this argument before. Someone always feels the prissy need to
bring it up.
C++ is faster than C#.
C is faster than C++.
Assembly is faster than C.
We don't code in assembly because it runs faster. We code in C#, because we
can get more done, more robustly, in less time. Like any new software tech,
it takes a bit of time for hardware to catch up. When it does, we'll come
up with yet a newer tech. then someone will rehash this yet again.
It's not the language that's any faster, it's the amount of overhead
required to achieve the goal. If you tried to write an application
in c++ that's as robust and easy to use as C# (codewise), you would
most likely generate just as much overhead anyway. Microsoft has put
way more time, effort, and money into the .net framework than most
companies could ever dream of, and it is very well planned out and
reliable. I have seen many application written in c++ that perform
horribly due to bad programming techniques.
In my opinion, application performance really comes down to the skill
of the programmer, not the language they use. (unless you get into
pseudo languages or scripting)
Even if you are using C# and want to optimize a specific section of
code, you can use the "unsafe" keyword to get access to pointers,
manipulate memory, etc, which gives you benefits of c++ while still
using the .net framework. ("_asm" is also available for people that
really want to anger developers that inherit their project)