问题
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
回答1:
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).
回答2:
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.
来源:https://stackoverflow.com/questions/451938/mono-and-c-sharp-iocp-is-it-a-good-idea