[英]Mono and C# IOCP: Is it a good idea?
I'm porting a c++ app to c# that uses IOCP on it's server. 我正在将c ++应用程序移植到在其服务器上使用IOCP的c#。
Can mono handle IOCP as well as windows? 单声道处理IOCP以及Windows吗? will i get comparable performance to c++ or i should try something else?
我会得到与c ++相当的性能,或者我应该尝试别的吗?
thanks 谢谢
The main overhead in IOCP is the IO not the language. IOCP的主要开销是IO而不是语言。 You should expect the same performance from the C# code as in C++ (Given the mature state that Mono is in).
您应该期望C#代码与C ++中的性能相同(考虑到Mono所处的成熟状态)。
Do you target mono for windows? 你是针对Windows的单声道? If it is linux then there is a different async i/o model, not completion ports.
如果它是linux,那么有一个不同的异步i / o模型,而不是完成端口。 I assume mono developers did their best to support it.
我认为单声道开发人员尽力支持它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.