Comment by kombine

5 days ago

> I'm of opinion if you start writing OS userland in either javascript or python (or both), you should be fired on the spot, but I don't make the shots.

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.

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)

  • 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.