Performance: compiling in VS, running in mono on Windows and Linux

I have the following questions:

  • Is it possible to compile a C # project using VS.NET and run it on mono?
  • Are there any performance benefits associated with approach 1 (vs compiling with a monocompiler)?
  • How to run .exe / .dll output in linux? And what are the related performance characteristics?

thanks

+3
source share
4 answers
  • Yes you can do it. It should work if the code does not use some structural elements that are not implemented in mono.

  • Not that I knew.

  • , # 3 # 1. Windows, , linux, . IL-.

+8

1:
. IL-, .

Mono, , . , , , :

  • Path.DirectorySeparatorChar Path.Combine , "\" "/".
  • BitConverter , .

2:
, , JIT, - .

3:
exe dll , IL-. JIT exe/dll.

+6

:

3. , MSCLR vs Mono , , , . , , , , , - .

, , , JIT, - .

Mono, , MS CLR.

+2

, , MonoDevelop vs. - , .

+1

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


All Articles