?
Solved

C# and C++

Posted on 2002-07-29
4
Medium Priority
?
248 Views
Last Modified: 2010-04-15
a rather general and tough question to answer, but...

i am trying to find information on the speed/performance of C++ vs C#.

anyone have information related to this?

what about some sample code i can run using each language to test speed/performance for mathematical computations?

please be as thorough as possible, and provide sample code or links to code if relevant.

thank you....
0
Comment
Question by:loyaliser
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 23

Expert Comment

by:naveenkohli
ID: 7188601
If you don't conside the JIT compilation time into consideration, there is no difference between execution speeds. I have seen some benchmarks that shows memory requirment betwen C++ and C# apps. Even that show that there is no degradation of performance. GC acts pretty nicely. I haven't comeacross any benchmarks so far that will compare speed of execution.
In my personal expereince unless you are doing some low level programming, use of C# does not add any performance hit.
0
 
LVL 4

Expert Comment

by:wile_e_coyote
ID: 7193494
Check the microsoft.public.dotnet.framework.performance newsgroup. It might have some postings that will help.
0
 
LVL 2

Accepted Solution

by:
Lockias earned 1200 total points
ID: 7215650
Here is "A statistical analysis of the performance variations of assorted managed and unmanaged languages"

http://www.codeproject.com/dotnet/PrimeNumbersProjects.asp

I found it very helpful.
0
 
LVL 20

Expert Comment

by:TheAvenger
ID: 9506578
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Accept a comment by Lockias
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheAvenger
EE Cleanup Volunteer
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question