Does the .NET CLR Really Optimize for the Current Processor
Posted
by dewald
on Stack Overflow
See other posts from Stack Overflow
or by dewald
Published on 2010-03-08T22:39:18Z
Indexed on
2010/03/08
22:51 UTC
Read the original article
Hit count: 311
When I read about the performance of JITted languages like C# or Java, authors usually say that they should/could theoretically outperform many native-compiled applications. The theory being that native applications are usually just compiled for a processor family (like x86), so the compiler cannot make certain optimizations as they may not truly be optimizations on all processors. On the other hand, the CLR can make processor-specific optimizations during the JIT process.
Does anyone know if Microsoft's (or Mono's) CLR actually performs processor-specific optimizations during the JIT process? If so, what kind of optimizations?
© Stack Overflow or respective owner