单声道和C#IOCP:这是个好主意吗? [英] Mono and C# IOCP: Is it a good idea?

查看:77
本文介绍了单声道和C#IOCP:这是个好主意吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我移植一个C ++应用到C#,关于它的服务器使用IOCP。

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

能否单声道处理IOCP以及Windows?我会得到相当的性能,以C ++或者我应该尝试别的东西吗?

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

感谢

推荐答案

在IOCP的主要开销是IO不是语言。您期望从C#代码相同的性能,在C ++中(考虑到成熟状态Mono是在)。

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).

这篇关于单声道和C#IOCP:这是个好主意吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆