Mono on linux & windows

Is there a performance difference when running two executables with mono in linux if:

1) one executable file was compiled from C # source code earlier in windows (e.g. VS).

2) another executable was compiled from the same source with gmcs on linux.

+3
source share
3 answers

This should not matter in terms of runtime, since they are valid IL codes (assuming the compilers are error free).

There may be a difference in performance, which can be attributed to the level of optimization performed by the C # compiler.

+5
source

What is the compiler on Windows?

, gmcs Windows Linux .

(, VS/csc), , ,

+3

I don’t think there is a direct performance difference when running the same application in Mono on Linux and Windows. There may be an indirect difference in performance. By indirect, I mean the difference in mono performance on Linux and Windows.

+1
source

Source: https://habr.com/ru/post/1704324/