[Mono-list] Performance benchmark

James Mansion james at mansionfamily.plus.com
Sat Feb 27 08:40:28 EST 2010


stifu at free.fr wrote:
> "How is the code generation 'better optimized for linux' such that the
> generated code for
> this source will be different? Doesn't make sense to me."
>
> To clear things up, the IL code that Mono generates from the code sources is
> the same for all OSes, but the native code generated (JITed) from the IL
> code is what varies depending on the OS. And the generated native code is
> more or less efficient depending on the OS. Makes sense to me.
>   

The call convention for calling system routines can be different by OS.  
Why would the JIT
generate and optimise differently on Linux than on Windows, for routines 
that are solely mono
to mono calls? You are suggesting that there are different code 
generators by OS?


More information about the Mono-list mailing list