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

牧云@^-^@ 提交于 2019-12-06 07:43:31

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!