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)
Newsflash: all the things do not need to be multithreaded, there’s an awful lot of code that’s just peachy in a single threaded implementation, thank you very much, and multithreading it is just inviting trouble for no significant gains.
I am waiting for your single-threaded fork of the Linux kernel.
What’s a rust programmer? Someone who’s ever written anything in it? If the same holds true for C, probably a higher percentage than of ‘C programmers’ given how long that’s been a teaching language lol
That’s still rather recently, and there’s rather a large stock of ‘before people’ hanging around. But I agree inasmuch as it’ll change as time goes by and one day you’ll be right.
Rust would be better if the rust community wasn’t so up everyone’s ass about using rust.
Attacking the messenger because you don’t have any good argument against the message?
This is the Linux kernel project, one of the technically most conservative projects in the FLOSS community.
Removed by mod
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)
I am waiting for your single-threaded fork of the Linux kernel.
Removed by mod
What’s a rust programmer? Someone who’s ever written anything in it? If the same holds true for C, probably a higher percentage than of ‘C programmers’ given how long that’s been a teaching language lol
Removed by mod
In that case, stil reckon a higher proportion ofl Rust devs contribute to Linux than C devs
Removed by mod
That’s still rather recently, and there’s rather a large stock of ‘before people’ hanging around. But I agree inasmuch as it’ll change as time goes by and one day you’ll be right.