Could someone fill me in on the Rust situation?

7 months ago by cloudskater to c/linuxfurs

I heard a PeerTuber I follow talk about controversy around "Rust" as a dangerous cult or something, but that she thinks people should put aside their "petty grievances" and focus more on what good the project will do for Linux. I'm out of the loop, but I think Rust is a programming language, right? Anyone know what this whole thing about a cult is? I want to be filled in on it, because it seems important.

load all comments
forestbeasts 4 points 7 months ago

I'm not sure about a full-on cult, but the people who push Rust push Rust REALLY, REALLY HARD. And they frame any opposition as "you just need to GET WITH THE TIMES!!!".

Much like the Wayland people, and the systemd people.

Personally, that massively turns me off. Especially because when I tried rust, it tried to force us to use snake_case instead of camelCase in our OWN CODE, throwing up "style warnings". That's not okay.

It feels like they want to end style diversity, programming language diversity, want everything to be done Their Way because it's Just Better and how dare people disagree.

(Python has similar "having your own style is frowned upon" culture problems, I think, but they don't really do the same "we need to wipe out other programming languages!!" shit.)

So I'm against Rust myself, not for technical reasons, but because of that.

-- Frost

path: 0 22498091, hotness: undefined, score: 4, children: 7
Dipole 2 points 7 months ago

The remark about style warnings is really alien to me. Style warnings are something I'm accustomed to when programming in nearly any language. I can't remember the last time I used a language where whatever IDE I happened to be using didn't have style warnings. And I've never had trouble adapting. "Oh right, C# convention is PascalCase methods. Oh, Java is camelCase". In fact I've been jumping between a C# project and a Java project recently, and I haven't been finding it difficult. Rustc having some linter-type warnings built in is a bit novel I guess, but really not a fundamentally different experience. It's really not any more difficult to disable those warnings for a Rust project than for a C# project. I don't think I can understand calling that "not okay".

path: 0 22498091 22573988, hotness: undefined, score: 2, children: 4
forestbeasts 2 points 7 months ago

There's a difference between "adding a style checker yourself" (or the project owners doing it, if it's not your project) and "having a style checker built into the core tools that yells at you unless you either conform, or turn it off in every single project you write".

Sure, C# convention for the standard APIs and whatnot may be PascalCase, Java camelCase, and whatever. But that doesn't mean that Everyone Must Follow The Standard Convention. That way lies Python and frankly, Python's "there is One Correct Way to do everything" culture really turns me off.

But even Python doesn't do this. Neither does Java. Yeah your IDE might, but that's a weird IDE feature then. And we can just use a different IDE. You can't just a) use a different compiler and b) tell everyone who's interested in your project to use the different compiler or ignore the warnings, they're spurious trust me bro.

path: 0 22498091 22573988 22575700, hotness: undefined, score: 2, children: 3
forestbeasts 1 point 7 months ago

Like, Rust's style checker nonsense is "remind me later" culture. Trying to wear you down by making you say "no, stop trying to get me to use your style instead of mine" in every. single. project until you break down and stop caring.

That's why it's not okay.

(inb4 "but what about other warnings!": those are actual problems with the code, or stuff that might turn into problems. "Having a different coding style than the language authors' personal decree" just isn't.)

path: 0 22498091 22573988 22575700 22575729, hotness: undefined, score: 1, children: 0
Dipole 1 point 7 months ago

You can disable specific warnings as a project setting, not just with rustc/cargo but with every build toolchain I've used in the last ~10 years. It's very common for me to find a project with at least one specific warning disabled. That really isn't a "trust me bro" -- people can look at the project, see which warnings are disabled, and decide for themselves if that is reasonable.

path: 0 22498091 22573988 22575700 22582943, hotness: undefined, score: 1, children: 1
linuxfurs
linuxfurs

@pawb.social

login for more options
827
118
4

A place for all Furries who use (or are interested in) Linux-based OS's to come, hang out, ask questions, and enjoy!

go to feed...