r/ProgrammerHumor 2d ago

Meme ancientTools

Post image
5.8k Upvotes

387 comments sorted by

View all comments

Show parent comments

7

u/sixtyhurtz 2d ago

MS has abandoned WPF; it's now a "community project".

The hot new thing is Avalonia. It's designed to be a mostly drop-in replacement. I really like it, but I'm also slightly worried they might be going for a commercial rug-pull. I hope I'm wrong, and they just keep the paid extension & consulting model to fund their costs.

13

u/OSRSlayer 2d ago

Maui, WPF, WinForms, WinUI, now Avalonia.

If you are making a native desktop app that you plan to maintain, choosing a Windows technology is a footgun.

4

u/chic_luke 2d ago

Avalonia is a cross-platform technology and it is not by Microsoft but I get what you mean.

It's part of the reason why I think the criticism of Electron apps needs to be contextualized. There is often a pretty darn good reason why people choose to use Electron for desktop apps. You can say what you want about react, I don't like it personally, but it's here to stay and it's much more here to stay than any Microsoft UI technology.

There's GTK, but it's not viable on Windows, and it already starts feeling like a 2nd class citizen when you use anything different from the GNOME desktop environment, while Qt forces you to interact with C++ and have to really care about portability, or you use QML which is much slower.

4

u/OSRSlayer 2d ago

IMO web based technologies are worse. We're just making Java JVM again in the form of Chromium but with infinite dependencies and half your codebase not being written or controlled by your team.

1

u/chic_luke 2d ago

True, mostly the dependency part though.

About the JVM… maybe. I mean, the JVM was never a bae idea. But Java GUI toolkits are so bad, a well-written Electron application typically feels faster, even though the underlying runtime is less efficient than the modern JVM