Hacker News new | ask | show | jobs
by alternatex 20 days ago
Hard to say what's native in Windows anymore. I imagine Win32 APIs and more recently Windows App SDK?

The most supported UI frameworks from MS for Windows are WPF and WinUI 3. UWP is dead and WinForms (even though closest to something native to Windows) is probably going to end up in the land of forgotten (sorry nostalgic Windows devs, you have to face it eventually).

A "mess" is an understatement when the people who themselves develop Windows desktop apps have trouble explaining the landscape.

2 comments

> Win32 APIs

Everything boils back down to Win32, including WPF, WinForms, WinUI2, and WinUI3.

Some of the more modern stuff is in a separate WinRT category that is a pain to use. E.g. requires "identity".

https://learn.microsoft.com/en-us/windows/apps/desktop/moder...

So if I decide to code a windows app just using C Win32 api, will it outlive the current generations and be guaranteed to run fine(compatible) on future versions, while the modern alternatives will be stuck in a constant cycle of deprecation?
That seems to be the history of every other toolkit Microsoft has released, yes. What a waste of time writing anything in MFC was.
The most supported UI framework from Microsoft for Windows is .NET MAUI, released in 2022.