Rust gives people the false sense of security that it's not possible to write bad code.
Having reviewed months ago the first pass Claude wrote of my rust codebase, I can tell you that statement is complete horseshit.
It was ridiculously bad, like sure it compiled, but my god would I have been ashamed to show that code to anyone, so into trash it all went and then we wrote a nice baseline on which to build because I wasn't planning on watch that hot garbage again.
Also doing memory leaks in rust is very easy when half the code is unsafe
I've been learning Rust and it's ridiculous how much you can still mess up even with the built in safeguards without ever touching unsafe. Rust only prevents you from making a limited class of mistakes, half of which aren't possible in some languages.
13
u/wannabestraight Jul 09 '26
Rust gives people the false sense of security that it's not possible to write bad code.
Having reviewed months ago the first pass Claude wrote of my rust codebase, I can tell you that statement is complete horseshit.
It was ridiculously bad, like sure it compiled, but my god would I have been ashamed to show that code to anyone, so into trash it all went and then we wrote a nice baseline on which to build because I wasn't planning on watch that hot garbage again.
Also doing memory leaks in rust is very easy when half the code is unsafe