c+/winrt比cswinrtin慢吗?

发布于 2025-01-28 02:56:27 字数 591 浏览 3 评论 0原文

我正在尝试新的Microsoft Winui 3堆栈,因此我从Microsoft找到了这个演示存储库: https://github.com/github.com/microsoft/microsoft/winui-3--- Demos/Tree/Master/SRC/build2020Demo

它使用C ++/Winrt和Cswinrt演示了同一应用。

但是CS版本比C ++版本运行得多。 有人可以详细说明这是为什么吗?

c#结果 cpp结果

I am trying the new Microsoft WinUI 3 stack so I found this demo repository from Microsoft:
https://github.com/microsoft/WinUI-3-Demos/tree/master/src/Build2020Demo

where it demonstrates the same app using c++/WinRT and CsWinRT .

but the Cs version runs much fatser than the c++ version.
can someone please elaborate why is that?

C# result
Cpp Result

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文