[UWP] [c ++] UWP - 用C ++开发 [英] [UWP][c++]UWP - Development with C++

查看:188
本文介绍了[UWP] [c ++] UWP - 用C ++开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要使用C ++开发UWP应用程序,它的运行速度是否比C#快?

To develop UWP applications with C++, would it run faster than with C#?

或/并且C ++会创建一些C#不能的功能/功能吗?  

or/and would C++ create some features/functionality that C# can't?  

有经验的人? 谢谢。

Anyone who has experienced about it?  thanks.

推荐答案

UWP与这个问题无关。 关于C ++是否比C#更快,已有近20年的讨论。 从根本上说,答案是"是",但在绝大多数情况下,这并不重要。 
极少数应用受CPU功率限制。 如果您的应用花费大部分时间等待用户或等待网络,而且几乎所有应用都会这样做,那么速度无关紧要。 你需要使用让你更轻松的工具

UWP is really irrelevant to this question.  There have been discussions going back almost 20 years over whether C++ is faster than C#.  At it's root, the answer is "yes", but in the vast majority of cases it just doesn't matter.  Very few applications are limited by CPU power.  If your app spends most of its time waiting for the user or waiting for a network, and almost all applications do, then the speed doesn't matter.  You need to use the tool that makes things easier for you.

现在,如果你正在进行物理模拟,你将连续运行3个小时的计算循环,那么你可能会想选择C ++。

Now, if you are doing physics simulations where you'll be running a computational loop for 3 hours straight, then you will probably want to choose C++.


这篇关于[UWP] [c ++] UWP - 用C ++开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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