Re:2026 will be my year of the Linux desktop
by jenadine on Saturday January 03, 2026 @04:56AM
(#46474755)
QML is not JavaScript.
(While you can use some JavaScript from QML, the application still have a C++ core. QML applications can still crash. There is no DOM with QML, no browser overhead)
Re:2026 will be my year of the Linux desktop
by ahartmetz on Saturday January 03, 2026 @11:22AM
(#46478413)
QML is absolutely not JavaScript. It's a markup language to describe user interfaces, spiced with JS for certain interactions. All heavy lifting behind the scenes is done in C++ - the QML runtime as well as the application logic and data models.
KDE Plasma, which is in my opinion the most advanced desktop environment is written in Qt QML which is JavaScript. There are advantages to that over C++, namely your session won't simply crash.