News for hackers. Stuff that matters.
Re:Released and Certified: Qt Safe Renderer by gameswithgo on Friday June 01, 2018 @09:51AM (#17205270)
there are many true solutions, electron is not one of them though.

>but don't pretend like they don't have tremendous benefits too.

Javascript+html+css is not a global optimum in the solution space of "making cross platform GUI apps", its just the best solution that exists right now (if you are afraid of C++), and that is too bad.

We could have simpler, better performing ways if we bothered to do things that aren't web related more often.

Re:Released and Certified: Qt Safe Renderer by MrP on Friday June 01, 2018 @10:27AM (#17205573)
People being afraid of C++ is not as big a problem as people not being afraid of C++
Re:Released and Certified: Qt Safe Renderer by jancsika on Friday June 01, 2018 @07:38PM (#17211500)
> (if you are afraid of C++)

Iterating front-end development with Javascript+html+css is simpler and quicker than doing the same with C++ because you don't have to recompile for each iteration. In some cases I don't even need to restart the app.

Also, I have been able to debug in a few nasty cases by getting users to switch out a js/html file and restart the app. That's impossible to do with C++ given the same time/effort constraints.

Those are just two fairly small but measurable examples. There are also drawbacks to having not chosen Qt for the front-end. But those data points and more were part of a rather complicated cost-benefit analysis of what was available to make a cross platform GUI app in a reasonable amount of time.

I don't see what a search for a "true" toolkit has to do with such an analysis. I don't see what caricatures of one camp or another as unduly emotional has to do with such an analysis. What am I missing?

Re:Released and Certified: Qt Safe Renderer by sho_hn on Friday June 01, 2018 @09:22PM (#17212028)
You should do some Qt frontend development some time. A lot of is done in QML and doesn't need recompilation, and can be hot-reloaded at runtime. It's a false dichotomy, Qt offers these benefits to a great extend when used well.
Re:Released and Certified: Qt Safe Renderer by Too on Saturday June 02, 2018 @03:04AM (#17213191)
Qt QML is javascript...
Re:Released and Certified: Qt Safe Renderer by chrisco255 on Friday June 01, 2018 @10:05AM (#17205416)
But time and money is a real constraint for projects. It's hard enough writing native Android, native iOS, and a web app to boot without also having to write native Mac, Linux, and Windows and dealing with all the cross platform UI quirks on Qt.
Re:Released and Certified: Qt Safe Renderer by dekhn on Friday June 01, 2018 @11:47AM (#17206457)
Qt handles cross-platform better than any other framework.
Re:Released and Certified: Qt Safe Renderer by EStudley on Friday June 01, 2018 @11:06AM (#17205942)
Wait, what? How are you going to write a native app with less quirks than Qt? VTK? That's a little disingenuous.
Re:Released and Certified: Qt Safe Renderer by chrisco255 on Friday June 01, 2018 @11:53AM (#17206547)
This is in reference to using Electron so you don't have to both write a web app and a native desktop app using Qt (in addition to native mobile, where performance issues are much more noticeable).
Re:Released and Certified: Qt Safe Renderer by kbutler on Monday June 04, 2018 @08:10AM (#17226990)
...and electron apps have no UI quirks and no performance issues on mobile.
Re:Released and Certified: Qt Safe Renderer by royjacobs on Friday June 01, 2018 @10:36AM (#17205647)
The whole point of Qt is that you don't have cross-platform UI quirks.
Re:Released and Certified: Qt Safe Renderer by chrisco255 on Friday June 01, 2018 @11:55AM (#17206581)
You still have quirks. Qt helps for the bulk of the work, sure, but OSX, Windows, and Linux all have unique quirks that have to be dealt with.
Re:Released and Certified: Qt Safe Renderer by pknopf on Friday June 01, 2018 @03:13PM (#17208940)
Any OS-quirks you experience with Qt are likely the nature of cross-development (path separators, toolbars, sys-trays), stuff that you'd likely experience with any framework.

Qt's cross-platform support is amazing.