News for hackers. Stuff that matters.
Re:The decline and fall of Java on the desktop by datavirtue on Wednesday March 02, 2022 @02:34PM (#30531799)
Winforms is dead, as in not cross platform and WPF...the same. WPF is declarative XML as is Xamarin Forms (both slightly different XML oddly). Not fun.
Re:The decline and fall of Java on the desktop by jeroenhd on Wednesday March 02, 2022 @07:53PM (#30535677)
Microsoft's refusal to port WinForms is truly the most disappointing part of its cross-platform efforts, in my opinion. They have Mono, they can get it working, they just choose not to.

I wouldn't build a production application in WinForms, WPF and friends are much better for that. But, for quick&dirty or even moderately complex tools for experts, VS + WinForms simply has no equal. Some Python-based designers come close, but they definitely suffer when it comes to distribution.

With modern dotnet tech, Microsoft could allow us to build a (rather sizable) single, statically linked binary for any architecture, with the impressive performance of the dotnet JIT and native controls.

After working on Android designs, I've got to say, XML is fine for UI design. You need previews and visual inspectors to get an accurate idea of what you're doing, but describing what control lives where and what properties it has is a perfectly sensible use case for XML.

Re:The decline and fall of Java on the desktop by kaba0 on Thursday March 03, 2022 @03:52AM (#30538725)
It wouldn’t make much sense to port Winforms any more, as it is CPU-renderer only. It would be disappointingly slow for anything more complex than, well, forms.
Re:The decline and fall of Java on the desktop by mike_hearn on Wednesday March 02, 2022 @03:54PM (#30532988)
XML is actually pretty good at declaring UI. It's the sort of thing the language was designed for - a UI is a tree of attributed nodes, and that's also what XML gives you.
Re:The decline and fall of Java on the desktop by thrower123 on Wednesday March 02, 2022 @07:56PM (#30535701)
Winforms is undead.

We'll be writing WinForms applications in the 22nd century.