5 ms·
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
by Waterluvian 8y ago
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.
- gameswithgo 8y agothere 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.
- chrisco255 8y agoBut 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.
- royjacobs 8y agoThe whole point of Qt is that you don't have cross-platform UI quirks.
- chrisco255 8y agoYou 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.
- pknopf 8y agoAny 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.
- EStudley 8y agoWait, what? How are you going to write a native app with less quirks than Qt? VTK? That's a little disingenuous.
- chrisco255 8y agoThis 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).
- kbutler 8y ago...and electron apps have no UI quirks and no performance issues on mobile.
- dekhn 8y agoQt handles cross-platform better than any other framework.
- MrP 8y agoPeople being afraid of C++ is not as big a problem as people not being afraid of C++
- jancsika 8y ago> (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?
- dekhn 8y agowhat, 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.
- jhoechtl 8y agoFor one cross platform.
- Keyframe 8y agoYou kind of get that with qt as well. How about mobile?
- shawnz 8y agoA 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?
- Keyframe 8y agoBattery life, more free RAM...
- heeen2 8y agoLess 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.
- snuxoll 8y agoLet'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.
- 8y ago
- pjmlp 8y agoIf they had any big benift for the users, everyone would be doing MSHTML and XUL apps nowadays.