Mono and C# IOCP: Is it a good idea?
Asked Answered
R

2

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

Resor answered 16/1, 2009 at 20:47 Comment(0)
F
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.

Forwhy answered 14/1, 2010 at 17:21 Comment(0)
F
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).

Frecklefaced answered 16/1, 2009 at 21:58 Comment(1)
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.Ingredient
F
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.

Forwhy answered 14/1, 2010 at 17:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.