by klodolph · 6y ago · 0 comments
I think Microsoft knows it needs (1) a way for developers to build apps that look like they belong in 2020 (2) where the frameworks won’t find themselves in the garbage within a few years. This “toolkit approach” seems to recognize that the runtime is a separate problem, so e.g. you can use Win32 + C++ + WinUI, or you can use C# + UWP + WinUI and get something reasonably consistent.
Maybe this is the time Microsoft gets it right. Who knows?
Windows GUI was done right long time ago by Delphi and now Lazarus. Now it is also multiplatform. When it comes to UI with Delphi approach I could concentrate on what I am doing instead of how. And it's been available for 25 years.
C++/CX seemed to finally be what I was expecting, since C++/CLI never had designer tooling support.
But since they got the ISO C++ striking force to redo C++/CX with C++17, now we are supposed to wait for ISO C++23, for the Visual Studio team deliver with C++/Winrt what C++/CX can already offer today.
Sometimes I think someone should offer some C++ Builder licenses to Visual C++ team.
The auditorium exploded in laughing.
3-4 years down the line, that "biggest thing since sliced bread in development for Windows, and WinMo" got quietly swept under the carpet.
And even after that, they tried to spin 3 or more "trendy Javascript platforms" to no avail.
So now they have 6, possibly 7 defunct Javascript platforms for Windows whose very fact of existence completely discredits them in eyes of developers.
P.S. He forgot to mention Windows script hosts!
But what about their ReactXP? That's supposed to let you build for React for Windows & Mac and thus WinUI, and also React Native for mobile and such.
Unfortunately, development on it has slowed and it's not the easiest experience for new developers.
Fortunately, it's super flexible and open-source so I've forked it to continue my vision of the perfect native cross-platform stack:
It's a pretty mature project so there's not many changes needed.
The main thing was I wanted it to do more and I didn't agree with certain styles and APIs.
No benchmark is needed. Running your app in an entire browser (one of the most complex pieces of software w/ millions of lines of code) is of course going to be less performant and eat more resources.
I'm not dissing Electron, it's great if you have a web app that you want to make standalone on the desktop. That alone does not make cross-platform though.
Ult can target the DOM so you can build a web app then wrap it with Electron. This is currently the best way to target Linux. Ideally there will be a GTK bridge like the bridges for the other major desktop and mobile OSes.
Wow. This reminds me of the stupid prediction I made in another thread today about Microsoft eventually abstracting Windows away so that it's a shell that can run on top of Linux. Or perhaps any other kernel.