Windows Mobile的发展:净的选择紧凑与本机(C ++)code本机、紧凑、Windows、Mobile

2023-09-04 03:18:26 作者:所谓的学霸就是不学也罢

我的工作经验丰富,多元发展的团队,我们是preparing接近我们的第一个移动开发的,这将是为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.

我们正在努力编写使用管理code或本地code中的移动客户端之间进行选择。我们将使用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.

我的问题是:

有多大,这些语言之间的业绩预期差?我听说,当地code是显著加快在移动设备上,但我很想从有经验的人听到。

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?

有间对电池寿命的影响,管理或本机code?

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

是否有任何其他主要应-的人都知道我们要考虑的?

Are there any other major should-knows for us to consider?

我AP preciate您的反馈意见。

I appreciate your feedback.

推荐答案

一个非常相似的question被问到并回答短短数天前。你可以找到有用的信息在那里。

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

简短回答您的问题:

在本地code是快,但对于许多应用程序的速度差别不会明显。不要使用本地code只是为了速度,除非这是为你的应用的关键因素。托管应用程序还可以跑得快 - 他们可能需要更长的时间启动 这是一个很好的蓝牙库的.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.