quote:Original post by wyrd
Imperil:
All be it from me to dispute a fellow C# lover, but you keep running on about all of these benchmarks and/or programs that prove how C# is just as fast if not faster than C++.
No offense, but where are the links to these benchmarks? And the programs you claim that are faster than their C++ counterparts, perhaps you could enlighten us by showing us the benchmark results that compare the two apps.
Your words are not proof, but rather speculation just like all those who are running down C# and praising C++.
agreed, id like to see as well.
on another note
quote:Why does the Axiom (C#) engine beat the OGRE (C++) engine in performance since Axiom is a port of OGRE.
Well there could be so many factors to why that could be:
1) Oger could of easily been used as a simple diagram to follow thus allowing them to find other ways that the orignal coders of oger did not think of.
2) The coders of oger coded it yes, but that does not mean it has been compeltely optimized to its fullest.
3) When you code somthing more then 1 time it tends to be faster the second time around you have a better idea of the overall flow, if you have seen the completed result.
ect...
porting a code generally at many times does improve it because you can see any flaws that may beable to be extended, anyone can extend somthing further so that its more optimized it doesnt take much. You could even go download intels compiler and use it, its suppose to increase the performace of C++ code so thats REALLY hard to compare with. Just because a port is good does not mean with little effort C++ could be better, thats what inline asm is for
Personally though, I don't like the idea of someone decompiling my code to make some form of a game hack or worst a embbed virus. Obscures can only do so much, there is no anti piracy methods, however I like the idea of having my door more locked.
Personally I belive we wont see C# kill C++, infact its much more likely that C# will kill VB.
Not to mention id like to see benchmarks on differnt hardware sets, its much more hard to determain what is faster when you have only see it benched mark on one set of hardware. After all hardware is what drives the software.
Besides all of you are wrong C++ isn't fast nor is C#, asm all the way
I searched around on net for awhile and found a few performance comparisons:
http://www.osnews.com/story.php?news_id=5602&page=3http://www.kuro5hin.org/story/2002/6/25/122237/078http://www2.hursley.ibm.com/decimal/telco.htmlhttp://www.windevnet.com/wdn/webextra/2003/0313/http://www.javaperformancetuning.com/news/qotm028.shtmlThe Great Win32 Computer Language Shootout:
http://dada.perl.it/shootout/Source of a c-sharp benchmark I don't have a compiler :/
http://www.ocf.berkeley.edu/~cowell/research/benchmark/code/Benchmark.csAnother source of a few languages I guess:
http://rotor.cs.cornell.edu/SciMark/Article or discussion about DirectX and C#:
http://weblogs.asp.net/jdavis/archive/2003/05/21/7344.aspxThey don't really prove that C# is as fast as people on this fourm are saying it is; but I will let you be the overall judge.
[edited by - DevLiquidKnight on January 15, 2004 6:03:34 AM]