Earlier quoted context omitted.
I believe you're incorrect, C++ is a good language for building UIs, as proven by the plethora of UI libraries and frameworks built in C++ for pretty much all platforms. This is visible when comparing PyQt and C++: yes, PyQt is easier to get into, has nicer syntax, but C++ offers more power. Even hot-loading UIs, a typical scripting language advantage is supported. Declarative UI languages do have some advantages com…
I keep coming back to the differences between OPENSTEP and Taligent and believe C++ isn't the best choice.
Technical Vision for Qt 6
61–70 of 184 posts
Re: Technical Vision for Qt 6
#62I'm looking forward to doing a comparison of Qt 6 and Electron in terms of both usability and performance.
What? That would just be a rant. Electron apps generally have no accessibility consideration, and accessibility is often the cornerstone of usability. Especially for keyboard users. Additionally, their performance is abysmal. Even the latest Slack update, which was focused on improving performance, see Slack using more CPU than my Java-based IDE (Jetbrains) sometimes.
Re: Technical Vision for Qt 6
#63Please show me one major new desktop application written today which uses Qt. Major meaning used by millions of people.
Re: Technical Vision for Qt 6
#64I'm looking forward to doing a comparison of Qt 6 and Electron in terms of both usability and performance.
Easy just watch React Native for Windows talk at Microsoft BUILD 2019. Electron has 700% performance lost over UWP/C++, which is the baseline. Expect similar results when comparing against Qt.
Re: Technical Vision for Qt 6
#65I hope QML/js crap will be abandoned, and C++ API will be prioritized.
For better or worse, pure C++ APIs have lost the war on GUI frameworks. Microsoft is the only consumer OS vendor that still supports C++ for doing full stack GUI apps, everyone else moved into a mix of C++ plus managed language or layout DSL.
On modern Windows you have C++, and also layout DSL, specifically XAML. And that C++ is not particularly idiomatic, it’s IUnknown-derived interfaces.
If you mean windows desktop, WinAPI uses quite a few DSLs. Dialog and menu resources are the most obvious, but there’s more: WMF/EMF vector graphics format, ribbon markup XML for ribbon control, theme files…
Re: Technical Vision for Qt 6
#66Earlier quoted context omitted.
Telling us that automotive interfaces run Qt is the most scathing comment on Qt that you could possibly have written.
Let me use a car analogy (heh) to critique your reasoning: "Telling us that automotive interfaces run on Linux is the most scathing comment on Linux that you could possibly have written." I have worked on IVI ("in-vehicle infotainment") software and I can tell you that Qt is not even remotely the problem. The problem is... car companies are really, really bad at software development.
My comment was partly tongue-in-cheek, but the kernel of truth in it is this: a good UI tool makes it easy to build what you want without sacrificing speed, not hard.
Electron makes it incredibly hard (though still possible). I'd be interested to know how much better of a balance Qt strikes.
Re: Technical Vision for Qt 6
#67Earlier quoted context omitted.
This "productivity is more important than raw performance" meme again... Your first paragraph claims the opposite of what's happening reality: there is a noticeable difference between clicking that highly optimized C++ button and going through XML, as seen in Mozilla's XUL or typical web apps. I can't even imagine why you'd think that reading and parsing XML and constructing a UI would be cheaper than any other way o…
> there is a noticeable difference between clicking that highly optimized C++ button and going through XML, as seen in Mozilla's XUL or typical web apps. Really, did you measure it? Since we are, scientists and everything? Where are the numbers? And how do any differences you've found compare (timing wise) with human initiated action and perception latencies -- like those required to click an on-screen button and see…
This remark should (also) have been directed at his parent comment, who made the contrary claim without any measurement either.
> Second, if you think the "parsing a XML UI declaration" is in any meaningful way more expensive that imperatively calling a bunch of UI functions directly, you have a distorted idea of what makes a UI slow, or of the time needed to parse an XML file and initialized controls based on it...
The numbers?
Re: Technical Vision for Qt 6
#68What Qt needs is more Electron. Please show me one major new desktop application written today which uses Qt. Major meaning used by millions of people.
Re: Technical Vision for Qt 6
#69What Qt needs is more Electron. Please show me one major new desktop application written today which uses Qt. Major meaning used by millions of people.
Autodesk Maya 2019 is one pretty good example off the top of my head
Re: Technical Vision for Qt 6
#70Thanks for supporting CMake and deprecating qmake. Not that cmake is the best tool ever, but having to deal with several build systems in the same project has always been a nightmare.
Would have hoped they would use bazel instead. It's open-source, and so much easier to deal with than CMake.