3

I'm porting a c++ app to c# that uses IOCP on it's server.

Can mono handle IOCP as well as windows? will i get comparable performance to c++ or i should try something else?

thanks

Joao Vilaca
  • 618
  • 1
  • 7
  • 18

2 Answers2

2

The main overhead in IOCP is the IO not the language. You should expect the same performance from the C# code as in C++ (Given the mature state that Mono is in).

Shay Erlichmen
  • 31,691
  • 7
  • 68
  • 87
  • You should NOT expect the same performance as IOCP must be implemented in the operating system. Linux uses an incompatible pattern of dealing with IO. – Jack Wester Jan 20 '12 at 12:16
1

Do you target mono for windows? If it is linux then there is a different async i/o model, not completion ports. I assume mono developers did their best to support it.

Arthur
  • 674
  • 1
  • 8
  • 14