Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nice to see it uses Qt C++ and QML (:


No, not nice. It should use TypeScript or Rust. C++/QML is unsafe.


TypeScript is way, way too slow to use for desktop applications. People try and, surprise surprise, those applications are slow as shit.

Qt has a C++ backend, so C++ is used. Qt is relatively safe and well designed.


Qt uses "slow as shit" JavaScript in its UI markup language:

https://doc.qt.io/qt-6/qtqml-javascript-expressions.html

Is your complaint with Electron, the "browser as local GUI app" framework that's been popular with SaaS vendors for their "native" apps?


Right, for small scripting, not for the majority of the app. All the backend interaction is in C++.

Like, electron is fine, but it's orders of magnitude slower than it needs to be for the functionality it brings. Which is just not ideal for many desktop applications or, especially, the shell itself.

Ultimately people use electron because they know HTML, CSS, and JS/TS. And, I guess, companies think engineers are too stupid to learn anything else, even though thats not the case. There is a strong argument for electron. But not for Linux userland dev, where many developers already know Qt like the back of their hand.


TypeScript transpile to Javascript - do you really want your operating system's shell written in slow ass Javascript? Modern C++ with hardening rules for the compiler[1] is pretty safe.

[1] https://best.openssf.org/Compiler-Hardening-Guides/Compiler-...


> do you really want your operating system's shell written in slow ass Javascript?

What, like GNOME Shell you mean?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: