Re:The borrowchecker is what I like the least about Rust
by IshKebab on Sunday July 20, 2025 @06:03PM
(#44629755)
> most of Rust codebases are filled with `unsafe`
That is absolutely untrue. Most Rust codebases have very few uses of `unsafe`. I have written tens of thousands of lines of Rust and used `unsafe` I think once. Maybe twice.
> Language choice will never solve poor programming style.
It absolutely does. Rust pushes you very strongly into the "pit of success". You can Google that term if you want to learn.
> Plenty of libraries for C for this.
I have yet to see a single C program in the wild use anything other than libc for string manipulation. I'm sure they exist but they are the 0.1%.
That is absolutely untrue. Most Rust codebases have very few uses of `unsafe`. I have written tens of thousands of lines of Rust and used `unsafe` I think once. Maybe twice.
> Language choice will never solve poor programming style.
It absolutely does. Rust pushes you very strongly into the "pit of success". You can Google that term if you want to learn.
> Plenty of libraries for C for this.
I have yet to see a single C program in the wild use anything other than libc for string manipulation. I'm sure they exist but they are the 0.1%.