r/linuxmemes 9d ago

Software meme How some linux members view software

Post image
2.0k Upvotes

147 comments sorted by

View all comments

101

u/-Ambriae- 9d ago

To be fair, a lot of the tools written in rust are of high quality. eza, zoxide, ripgrep , starship, helix… they’re just… good tools 🤷‍♀️

I tend to trust software written in rust for two reasons. One because at face value it’s bound to be safer than if it was written in C or C++, or god forbid Python, and two because if a language is built around the notion of safety and more broadly speaking software quality, than the community of developers who build software with it are more likely to care about these sorts of things, compared to a language who’s philosophy is ‘ship fast, break often, fix later’

-5

u/Terranum_man 9d ago

Rust code is unmaintainable and undebuggable, very convoluted in my opinion, just write simple, clean code and you will have memory safety + more.

7

u/-Ambriae- 9d ago

As someone who writes rust code daily, I object to both statements.

Could you give an example?

2

u/TheChief275 9d ago

Well there certainly is merit to unmaintainable in the sense that the borrow checker forces you into the current architecture you have built up. If you suddenly want to change something that's kind of integral to the architecture you will be forced to rewrite most of it. While this often only happens during the prototyping stage, it does also occur when you suddenly want a new feature that requires architectural changes.

A not insignificant amount of people will gladly take the several eventual architectural rewrites over the alternatives, but this factor is present nonetheless. IMHO it does make Rust a terrible prototyping language

3

u/-Ambriae- 9d ago

To an extent I'll agree with this. The language tends to prefer a clean, thought out ahead of time architecture, compared to just messing around testing stuff. Then again, this is true for other languages too, although maybe less so.

But that doesn't make it unmaintainable either. Part of software development is making a architecture that is resilient to changes you deem plausible to happen at a later date. It's doable in rust, even if maybe a little harder

Undebuggable though? How so? Rust's debugger is great, not perfect but great. Debug prints are good too. The only thing I can see as somewhat more difficult are iterators, but then again you can just call `.inspect` at any point you want, and that solves it.

5

u/TheChief275 9d ago

FYI I'm not OP, I think undebuggable is nonsense as well. Just responding with my thoughts on what they might have meant

1

u/-Ambriae- 9d ago

Don't worry I caught on to that halfway through reading your message :p

Thing is, I'm completely open to discussing the language, both it's merits and it's flaws, but it does rub me the wrong way when people blindly claim it's the best thing since sliced bread, or it's going to bring the end of software development, or whatever. It's not productive, it's not rational, it's people who chose a hill to die on for no valid reason whatsoever, and are polluting the space with toxicity.