4 ms·
Not that most companies would care, as dev cost seems to be all that matters these days, but the upsides are much faster and leaner applications than what you g
by fnl 9y ago
Not that most companies would care, as dev cost seems to be all that matters these days, but the upsides are much faster and leaner applications than what you get from Electron.
- bpicolo 9y agoCan't talk as to rendering and such, but python isn't going to be a performance win vs JS. V8 is faster than cpython by a decent margin for typical tasks on typical data structures. You'll need to dip into clang or whatnot for really hardcore perf either way
- discreteevent 9y agoIt's not the js that's the problem. It's the dom. QML was designed from the ground up for optimal rendering on the gpu and from the ground up for applications rather than documents.
- kbutler 9y agoPerformance of Python driving UI components implemented in C beats performance of JavaScript driving UI components implemented in JavaScript on top of the DOM.
- fnl 9y agoYou won't be using Python with QML at all, but rather JS - so you still can enjoy the speedy development vs. a traditional Widget app, and you get a far more efficient runtime, too. http://doc.qt.io/qt-5/qtqml-javascript-expressions.html http://doc.qt.io/qt-5/qtqml-javascript-expressions.html