Windows Mobile开发:选择.Net紧凑vs.本机(c ++)代码 [英] Windows Mobile Development: Choice of .Net compact vs. Native (c++) code

查看:147
本文介绍了Windows Mobile开发:选择.Net紧凑vs.本机(c ++)代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个经验丰富和多样化的开发团队工作,我们正在准备接近我们的第一个移动开发,这将是Windows Mobile 6(平台更改不是一个选项)。

I work on an experienced and diverse development team and we are preparing to approach our first mobile development which will be for Windows Mobile 6 (platform changes are not an option).

我们在Visual C ++和.Net技术方面拥有Windows桌面和服务器开发的技能和经验。

We have skills and experience in both Visual C++ and .Net technologies for Windows desktop and server development.

移动开发将包括一些图像处理,以及对蓝牙设备的读/写访问。不幸的是,我不能真正给出任何更多的细节。

The mobile development will include some image processing, and read/write access to a bluetooth device. Unfortunately I can't really give any more details than that.

我们正试图在使用托管代码或本地代码编写移动客户端之间进行选择。我们将分别使用C#或C ++。

We are trying to choose between writing the mobile client using managed code or native code. We would use C# or C++ respectively.

我的问题是:


  • p>这些语言之间的预期性能差异有多大?我听说移动设备上的本地代码明显更快,但我很想听到有经验的人。
  • How big is the expected performance differential between these languages? I have heard that native code is significantly faster on mobile devices, but I would love to hear from someone with experience.

在使用Windows Mobile服务访问蓝牙设备方面,任何一种语言都有什么主要优势吗?

Are there any major advantages to either language in terms of working with the Windows Mobile services for accessing bluetooth devices?

管理代码或本地代码之间的电池寿命是否会受到影响?

Is there an impact on battery life between managed or native code?

考虑?

感谢您的反馈。

推荐答案

非常相似问题几天前被问及回答。

A very similar question was asked and answered just a few days ago. You can find useful information there.

您的问题的简短答案:


  • 本机代码更快,但对于许多应用程序,速度差异不会显着。不要仅仅为了速度而使用本机代码,除非这是您的应用程序的关键因素。受管理的应用程式也可以快速运作 - 可能需要较长时间才能启动。

  • 有一个良好的蓝牙 library for .NET应用程序。我不知道用于C ++应用程序的类似库。

  • 这是由您的设计来实现好的电池寿命。平台选择无关紧要。

  • Native code is faster, but for many applications the speed difference won't be noticeable. Don't use native code just for the speed, unless this is a key factor for your application. Managed applications can also run fast - it may take them longer to launch.
  • There is a good Bluetooth library for .NET applications. I am not aware of a similar library for C++ applications.
  • It is up to your design to achieve good battery life. Choice of platform doesn't matter.

这篇关于Windows Mobile开发:选择.Net紧凑vs.本机(c ++)代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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