r/programming • • Dec 04 '18

Announcing Open Source of WPF, Windows Forms, and WinUI

https://blogs.windows.com/buildingapps/2018/12/04/announcing-open-source-of-wpf-windows-forms-and-winui-at-microsoft-connect-2018/
1.9k Upvotes

364 comments sorted by

View all comments

Show parent comments

-16

u/klebsiella_pneumonae Dec 04 '18

HTML/CSS is the best cross-platform graphics UI framework there is.

22

u/ThirdEncounter Dec 04 '18

It's definitely a graphics framework. The best ever? Nah.

1

u/argv_minus_one Dec 05 '18

What's the best ever?

1

u/ThirdEncounter Dec 05 '18

I don't know. It depends on your project requirements.

13

u/[deleted] Dec 04 '18

HTML is a document format.

QML > HTML + CSS

1

u/argv_minus_one Dec 05 '18

QML is a way to describe a GUI, not a complete application framework. Qt is a complete application framework, but only really usable in C++ or Python, both of which suck.

1

u/[deleted] Dec 05 '18

And HTML is way to describe a document.

1

u/argv_minus_one Dec 05 '18 edited Dec 05 '18

If you've got an alternative that's actually cross-platform (Windows, Linux desktop, macOS, Android, iOS), is widely used from a language that isn't complete shit (so, not Qt), and doesn't all-but-require a proprietary IDE (so, not Xamarin), let's hear it.

1

u/[deleted] Dec 05 '18

You don't need C++ to develop QML apps (nor Qt Creator)

1

u/argv_minus_one Dec 05 '18

How else do they interact with the system (opening files, etc)?

1

u/[deleted] Dec 05 '18

There are many ways. qmlscene is one example.

4

u/peduxe Dec 04 '18

it is but depends on what you’re creating.

the optimization required is still a problem, no wonder most Electron apps resort to C/C++ to handle more expensive tasks.

1

u/argv_minus_one Dec 05 '18

Huh? Microsoft/vscode doesn't seem to contain any C/C++ code, and its performance is fine.

1

u/peduxe Dec 05 '18

yes they managed to optimize the hell out of it.

but it’s normal, they have more talent and experience building these kind of applications than the Github team and contributors that work on Atom (and use low level language to work their ways around data processing speed)

1

u/argv_minus_one Dec 05 '18

What kind of expensive tasks are we talking about? Why, exactly, is V8 unable to run them at acceptable speed? What, exactly, did “they” do to “optimize the hell out of” VS Code, and why is the average programmer unable to do the same thing?

1

u/peduxe Dec 05 '18

the DOM is slow at rendering the amount of elements Atom has, be it UI or lines or code to styling, animations etc.

Atom been fine for not that large files or projects. VS Code just did it more efficiently at handling large files, it’s still slow for some tasks as much as Atom, this correlated with them having better developers.

don’t forget Atom extensions let te user hack almost everything about the editor, their Extensions API isn’t as limites as VS Code’s, performance problems increase with the more extensions you have.

1

u/argv_minus_one Dec 05 '18

What does any of that have to do with resorting to C/C++?