163
you are viewing a single comment's thread
view the rest of the comments
[-] Zamundaaa@discuss.tchncs.de 8 points 1 day ago

Mostly, a good library on C++ (Qt used to be one of those, but it's started becoming annoying in the past few years) offers a lot of what Rust enforces at the language level.

I like C++, but let's not pretend that's actually true. Qt is completely full of really unsafe APIs, most of them quite old by now. It certainly doesn't offer anywhere close to any safety Rust provides.

Even something as innocent as passing a pointer to Qt's javascript engine can end up in use after free, and the signal+slot stuff goes wrong real fast once you do need multi threading.

(which is not to single out Qt specifically, the STL has plenty of really stupid and unsafe APIs as well)

this post was submitted on 17 Jul 2026
163 points (96.0% liked)

Linux

66500 readers
722 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS