| ▲ | IshKebab 4 hours ago | |||||||
Totally wrong. > Its compilation is slow. I mean SLOW. Slower than C++. No way. Maybe Rust 1.0, but it's steadily improved and it's definitely faster than C++ now. > It’s complex. Just as complex as C++. True, but the problem with C++'s complexity is that you have to memorise all of it or you'll accidentally invoke UB. It's so complex that is basically impossible. Rust is complex but most of the time the compiler will tell you if you got it wrong. There are exceptions of course (lots of async footguns) but it's still night and day. > Memory safety is not that sacred. In fact, for many applications malfunctioning is better than crashing Not sure I really need to counter this... > When handling lots of mutable shared state (GUI, DB, stateful services, OS/hardware), the performance of native Rust memory model is subpar, and non-native unsafes just leave you with slow compilation, high complexity, and no memory safety in the end — which makes Rust practically meaningless for heavy mutable state jobs. Not totally clear what he's getting at here. Maybe the ergonomics of GUI style programming which are still being figured out? Hardly a deal breaker though is it? There are plenty of C/C++ GUI libraries with terrible ergonomics and the only one that is actually great (Qt) had to use a custom language extension for decades to achieve that. > So, is the Rust bad or good? It’s neither. It’s a mediocre programming language with thousands of man-month put into its development I would love to hear what he thinks a good programming language is, because I can easily pick more holes in any other language than he has. This anti-Rust zealotry is super tedious. | ||||||||
| ▲ | crustycoder 3 hours ago | parent | next [-] | |||||||
He hates on C++ pretty much the same as he does on Rust. Your argument seems to be that Rust is better than C++, which is akin to trying to make the case that Cholera is better than Smallpox. Language wars are boring and pointless, they all have areas of suckage. The right approach is to pick whichever one is the least worst for the job at hand. | ||||||||
| ▲ | singularity2001 3 hours ago | parent | prev | next [-] | |||||||
> I would love to hear what he thinks a good programming language is not OP, but outside of extreme performance critical software I MUCH prefer Swift, C# or python. | ||||||||
| ||||||||
| ▲ | hekkle 3 hours ago | parent | prev | next [-] | |||||||
> I would love to hear what he thinks a good programming language is Also, not the OP, but I bet it is Python. - No compile time. - Not as complex as C++. - Memory Safety, while they don't care about this apparently, but nice to have. - Plenty of ergonomic GUI style programming, like PySide (Qt for python). Of course, I know there are many downsides to python. Such as interpreted languages, especially ones that are duck typed are very slow to run... but that's not one of the OP's complaints. | ||||||||
| ||||||||
| ▲ | piskov 3 hours ago | parent | prev [-] | |||||||
Modern c# is very nice. And can be fast too | ||||||||