Above program does some basic matrix operations. While checking the performance of same algorithm implemented using C++ and C# it can be understood that the C++ is giving an excellent performance. When this program was ran on an Intel Pentium 4 3.2Ghz machine with 1GB RAM the time taken was as follows.

So clearly we can understand that the C++ outplays C# in the case of performance. Even in executing a basic algorithm without many of the OOP like overloading, runtime polymorphism the program is taking this much of performance loss. But c# have many other advantages like maintainability, understandability etc. But all these comes at the cost of performance.

TV

Talk to me

Me, Myself and I

I was born in Vadakara, a small town in Calicut, Kerala, India on a 23rd of June. I started my career as a Software Engineer at Network Systems and Technologies (NeST) on June 10th 2005. Then I moved to Cisco Systems and worked there for 3 years. Now I'm working at Juniper networks. High performance computing, on both scalar and vector processor is my primary area of interest. Even though I started with the Android app development, it's just halted for a while because of lack of time.
Pastime hobbies (Not a professional in anything)
• Photography - http://photos.google.com/amal.parambath2
• Playing badminton
• Trekking
How to reach me?
By email – amal dot parambath attt gmail.com