3 ms·
> yet WinUI selling point is that it is written in C++ That is probably intended to be a contrast with C# or JavaScript, not Rust.
by mwcampbell 5y ago
> yet WinUI selling point is that it is written in C++
That is probably intended to be a contrast with C# or JavaScript, not Rust.
- pjmlp 5y agoSo the marketing message goes something like this, Microsoft Security Response Center puts out a guideline that states: 1 - Use .NET languages, Java, Go if you can afford a GC 2 - Adopt Rust otherwise 3 - If C++ must be used, take care and adopt C++ Core Guidelines WinUI team, "WinUI is powered by a highly optimized C++ core that delivers blistering performance, long battery life, and responsive interactivity that professional developers demand. Its lower system utilization allows it to run on a wider range of hardware, ensuring your sophisticated workloads run with ease." https://microsoft.github.io/microsoft-ui-xaml/ https://microsoft.github.io/microsoft-ui-xaml/ I should also note that .NET is migrating their C++ code into C#, as they improved the language to add the features available on Sing# and System C#. " In this release, we’ve continued, and even accelerated, the process of porting native implementations in the coreclr runtime from C/C++ to instead be normal C# managed code in System.Private.Corelib." https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-5/ https://devblogs.microsoft.com/dotnet/performance-improvemen... C++ force is too strong on WinDev, the very fact that Windows is the only mainstream OS that still doubles down on a C++ based GUI framework kind of proves it. I am really curious if Windows 11 will finally be more like Apple and Google platforms, or keep going down this path of making certain APIs only available in C++, while forcing .NET devs to manually wrap them.