Is there any non-obvious difference between using C++ or C# for a Windows Kinect application? (e.g. performance, features) [closed]

别来无恙 提交于 2019-12-11 02:32:12

问题


Is it just a matter of preference and familiarity or the language makes an actual difference?


回答1:


Both are treated as first-class supported languages in terms of the Kinect SDKs, but the C# version is I think just a wrapper around the C++ version.

Standard managed C# vs unmanaged C++ arguments apply from this point forwards.

My preference? I know C# very well and am comfortable using it, so I'd start with that. If I identify performance issues because I used C# I can tackle those later on, but I seriously doubt that would ever happen.

Don't forget, you could always dip into unsafe C# in order to improve performance on any image processing logic you have - and still keep the managed support.



来源:https://stackoverflow.com/questions/8532936/is-there-any-non-obvious-difference-between-using-c-or-c-sharp-for-a-windows-k

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