Quote from braincell:
I don't really have to provide an example myself, there are a lot of posts on the net regarding the screwups of C compilers.
On the other hand, I agree on some points with amazingIndustry.
Having coded in C# for a long time, there are certainly ways to make it almost as fast as C++. The biggest problem are the cache hit and miss, for speed. To narrow down your dicsussion, because I've participated in many such as the one you/we are having here, it comes down to how specialized you can make your code. There are special cases and programming styles that will make C++ faster than ASM and C# faster than C++, there's no arguing about that. So until we can disassemble every bit of code each one of us has ever coded and do high precision timing on it (a feat in itself), it's a moot point as to which is fastest.
As far as ASM is concerned, for the HFT it might provide some but not many benefits. This is because you can focus on specific bottlenecks and when coding in C, this allows you manouvering space (around the compiler) to make them very specific and efficient. Coding special networking or buffer management drivers in ASM can get very tedious I imagine, so in the end it wouldn't pay off. I don't have enough experience with HFT to really say much more on the subject.