Not at all. I never said .NET was slower than C++ code, nor did I say
that if it was slower, it was because C# compiles in a more inefficent
manner.
The thing you don't get is that IL runs through the CLR, which
transforms it into native code that is then run. End of story. Until you
accept that, none of the benchmarks or claims that you make will be valid.
Especially if you don't post the code in question which you claim is:
- 100 lines
- patent pending
- part of a system which is worth millions of dollars
You seem to have a history of long, intentionally confrontational posts
and we don't need another one.
Now I'm really done feeding the troll.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard. caspershouse.co m
"Peter Olcott" <ol****@att.net > wrote in message
news:BzBsf.3806 4$QW2.15791@duk eread08...
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote
in message news:em******** *********@tk2ms ftngp13.phx.gbl ... For those that would like more information on why this question is
being asked, see the following link:
http://groups.google.com/group/micro...cc573d00467eec
So then it seems that your contention (based on the message that the link
points to) is that the whole difference is because of poorer code
generation by the C# compiler.
A good amount of the reply, and the OPs misunderstandin g of the nature
of .NET and the CLR is in this thread.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Peter Olcott" <ol****@att.net > wrote in message
news:l_Asf.3805 9$QW2.19657@duk eread08...
http://www.tommti-systems.de/go.html...enchmarks.html
The above link shows that C# is 450% slower on something as simple as a
nested loop. Is this because .NET is inherently slower or does the C#
compiler merely produce code that is not as well optimized as the C++
compiler?