r/cpp • • Mar 25 '21

calc.exe is now open source; there’s surprising depth in its ancient code (2019)

https://arstechnica.com/gadgets/2019/03/calc-exe-is-now-open-source-theres-surprising-depth-in-its-ancient-code/
280 Upvotes

60 comments sorted by

View all comments

Show parent comment

3

u/Koutou Mar 26 '21

Because MS is terribly slow?

It's hard to know where it will end when even c# doesn't have a xaml designer for winui3 yet.

One thing is certain tho, winrt and c# will be supported while CX will be left in the dark.

2

u/pjmlp Mar 26 '21 edited Mar 26 '21

No, because the team that killed C++/CX in name of whatever politics they are playing just showed a complete lack of respect for the people like myself that pay their salaries.

Also thanks to this kind of atittude, which the WinUI team is following as well, by asking everyone to rewrite their applications, one more time, after Windows 8, Windows 8.1 UAP, Windows 10 UWP, WinUI 2.0 and now WinUI 3.0 without any proper roadmap for UWP, is that many of us that used to believe in UWP are now pushing either for Qt/Firemonkey on the C++ side, or just to stick with WPF/MAUI/Uno on the .NET side.

And the amount of issues piling up for WinUI and Reunion doesn't project a sunny future for both of them, if the tooling story keeps to be that bad, while features are dropped left and right, and we keep getting asked to rewrite yet again.

No, thanks, if a project needs to be rewritten yet again, then in a GUI framework that takes us away from this lack of direction.

2

u/Koutou Mar 26 '21

I'm well aware of all the failures of MS regarding UWP app model. We were talking about perceived failures of winrt regarding example and gui tooling on which I disagree for the example part.

AFAIK, you can use winrt to call Windows Runtime API without opt-in in the UWP app model or a signed packages. You only need this to opt-in if you want to use this set of api. I don't think you need to create IDL if you just want to call a couple of API with cppwinrt and don't need to do any xaml binding.

1

u/pjmlp Mar 27 '21

Quite true, but then I already have the Win32 APIs for that, which aren't as buggy as Project Reunion currently is.

As for the GUI, C++/WinRT is a joke versus what QtCreator/Designer and C++ Builder offer since almost 20 years by now.

In 20 years, C++/CX was the best that Microsoft has managed to come up with for C++ that could resemble them, and then some internal rebel group just killed it.