News for hackers. Stuff that matters.
Re:Released and Certified: Qt Safe Renderer by Waterluvian on Friday June 01, 2018 @09:43AM (#17205206)
That's just so out of touch with reality. People with that attitude scare me because they lock us into the "one true solution" rather than the one that actually makes the company successful. Nobody pretends that JS/electron apps are supafast, but don't pretend like they don't have tremendous benefits too.
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.

Re:Released and Certified: Qt Safe Renderer by dekhn on Friday June 01, 2018 @10:01AM (#17205379)
what, exactly does electron get us over native apps? Be specific. I've used them, they look and feel like most other apps, but tend to be slower and more buggy.
Re:Released and Certified: Qt Safe Renderer by rsynnott on Friday June 01, 2018 @10:38AM (#17205669)
Keeps the price of DRAM high, thus stimulating the semiconductor industry.
Re:Released and Certified: Qt Safe Renderer by shawnz on Friday June 01, 2018 @10:21AM (#17205520)
A faster turnaround time for updates and bug fixes, enabled by removing the minutiae of developing cross-platform apps.

Now tell me, what do native apps get you over Electron apps? Demonstrably happier customers? Or just the personal satisfaction of knowing your app is a "global optimum" or whatever?

Re:Released and Certified: Qt Safe Renderer by pknopf on Friday June 01, 2018 @03:15PM (#17208959)
> A faster turnaround time for updates and bug fixes, enabled by removing the minutiae of developing cross-platform apps.

I'd say what you are arguing is "my team is better at JavaScript than Qml/JavaScript/C++", which is fine. It really boils down to what the team is most comfortable writing in.

That aside, Qt definitely wins when compared to Electron.

Re:Released and Certified: Qt Safe Renderer by heeen2 on Friday June 01, 2018 @10:38AM (#17205675)
Less memory. Less disk space. When a critical bug is found in the electron runtime, you'll have to trust all those packaged electron versions get updated in time.
Re:Released and Certified: Qt Safe Renderer by snuxoll on Friday June 01, 2018 @10:46AM (#17205736)
Let's be fair here, if you're running on anything but Linux you're hoping every application updates their bundled Qt frameworks when there's a bug found in it too.
Re:Released and Certified: Qt Safe Renderer by asfdsfggtfd on Friday June 01, 2018 @11:27AM (#17206180)
But why would I be running anything other than Linux...
Re:Released and Certified: Qt Safe Renderer by jcelerier on Friday June 01, 2018 @01:12PM (#17207564)
> A faster turnaround time for updates and bug fixes, enabled by removing the minutiae of developing cross-platform apps.

what makes you say that ? I develop a C++/Qt app and fix bugs and add new features without any problems and without having to care to mac / windows / linux specific stuff.

Re:Released and Certified: Qt Safe Renderer by Keyframe on Friday June 01, 2018 @10:35AM (#17205645)
Battery life, more free RAM...
Re:Released and Certified: Qt Safe Renderer by jhoechtl on Friday June 01, 2018 @10:19AM (#17205509)
For one cross platform.
Re:Released and Certified: Qt Safe Renderer by Keyframe on Friday June 01, 2018 @11:03AM (#17205904)
You kind of get that with qt as well. How about mobile?
Re:Released and Certified: Qt Safe Renderer by pjmlp on Friday June 01, 2018 @11:10AM (#17206005)
If they had any big benift for the users, everyone would be doing MSHTML and XUL apps nowadays.