News for hackers. Stuff that matters.
Re:Electron 7.0 by blux on Thursday October 24, 2019 @01:44PM (#21347135)
Is the comparison with Qt relevant? My understanding is that Electron is for JavaScript what Qt is for C++. Is there not a better fit for C++ development in the web UI ecosystem?
Re:Electron 7.0 by scrollaway on Thursday October 24, 2019 @01:49PM (#21347198)
> My understanding is that Electron is for JavaScript what Qt is for C++.

This is a weird comparison. Electron isn't really a UI framework, it's more of a customized web browser and JS runner, with some platform APIs to bridge the gap. But no, I don't know of anything serious that lets you write web UIs in C++. The closest you'll get are things like Google's Closure Compiler which compile Java to JS.

There's very likely something for C++, but nobody's seriously using that, probably because nobody actually wants this. "All of C++'s hare-brained syntax and slow iteration speed, with none of the performance benefits!" is not a good selling point.

Re:Electron 7.0 by Scarbutt on Thursday October 24, 2019 @03:18PM (#21348213)
Closure compiles JS to JS, you must be thinking fo GWT.
Re:Electron 7.0 by scrollaway on Thursday October 24, 2019 @07:35PM (#21350273)
Right.
Re:Electron 7.0 by emiliobool on Thursday October 24, 2019 @02:41PM (#21347797)
not exactly the most performant but there is https://ultralig.ht/
Re:Electron 7.0 by TimTheTinker on Thursday October 24, 2019 @03:26PM (#21348292)
> Is the comparison with Qt relevant?

Absolutely, when considering cross-platform UI frameworks in general. In that sense, Qt competes not only with Electron, but also with toolkits like wxWidgets, GTK+, JavaFX, Flash, and some older ones like Java/Swing, Lazarus and Adobe/Macromedia Director.