News for hackers. Stuff that matters.
Re:Building a Rust Mentality by amelius on Friday July 22, 2022 @09:44AM (#32191793)
Let go of the Rust mentality.
Re:Building a Rust Mentality by peyton on Friday July 22, 2022 @10:11AM (#32192023)
I am fairly tired of Rust devs and boosters monopolizing online spaces. There was a Zig article the other day with comments that derailed into Reasons For The Rust Way. IMHO this behavior is not helpful for PL experimentation and adoption.
Re:Building a Rust Mentality by woodruffw on Friday July 22, 2022 @10:52AM (#32192491)
I'm admittedly a Rust booster (in the sense that I like it) and so perhaps I'm biased, but: I don't really see Rust monopolizing spaces that don't otherwise make sense?

HN has a pre-existing bias towards the newest and shiniest thing, so it's not surprising that Rust takes up a lot of the oxygen in PL conversations (especially when so many of its peers, like Zig, emphasize having fewer deviations as an advantage.) But I don't see Rust taking up a disproportionate amount of headspace in more focused technical communities.

Re:Building a Rust Mentality by avian on Friday July 22, 2022 @11:25AM (#32192977)
It's not just discussions about programming languages. All kinds of HN posts about security vulnerabilities commonly get sidetracked by very predictable "if only it would be written in Rust" threads.
Re:Building a Rust Mentality by woodruffw on Friday July 22, 2022 @11:35AM (#32193106)
I guess I don't understand how that qualifies as "sidetracking." If the vulnerability in question is a spatial or temporal memory safety bug, it seems very reasonable and pertinent to observe that Rust would have prevented it.

Unless it's the volume or consistency of that reply that you're objecting to?

Re:Building a Rust Mentality by lnxg33k1 on Friday July 22, 2022 @01:03PM (#32194345)
Yeah but does it make sense to suggest to rewrite software that are years old, have collected solutions for years and know how? Maybe rust devs could end wishing that things were written in rust and start writing things in rust
Re:Building a Rust Mentality by yjftsjthsd-h on Friday July 22, 2022 @01:10PM (#32194435)
> Maybe rust devs could end wishing that things were written in rust and start writing things in rust

They are, though. Like, I don't even disagree with the cost of rewriting, but there are very much active efforts to rewrite things in rust (ex. coreutils - https://github.com/uutils/coreutils , OS - https://www.redox-os.org/ ) or to add rust to existing projects (Linux, Firefox and Chrome both (https://chromium.googlesource.com/chromium/src/+/refs/heads/...)).

Re:Building a Rust Mentality by burntsushi on Friday July 22, 2022 @01:27PM (#32194619)
This is just completely moving the goal posts. This thread was talking about observing that a particular vulnerability would be prevented in Rust. But now you've taken it from that, to, "why not rewrite the project in Rust."

They are not the same thing.

> start writing things in rust

Yeah because nobody is writing anything in Rust. What a bunch of blowhards!

Re:Building a Rust Mentality by steveklabnik on Friday July 22, 2022 @01:25PM (#32194598)
Then people complain that projects advertise themselves as being written in Rust.
Re:Building a Rust Mentality by mustache_kimono on Friday July 22, 2022 @10:47AM (#32192422)
I think this is fair. On the other hand, I think the flimsy arguments ("Just write better code..." and "Modern C++ doesn't have these issues..."), the mole hill matters of taste ("Egads! The syntax!" not "I think Swift does this better for the following reason..."), and the drive by hype hate, are just as tiresome from the anti-Rust crowd.
Re:Building a Rust Mentality by lnxg33k1 on Friday July 22, 2022 @12:59PM (#32194295)
It’s when technology becomes a cult and not a tool to solve a problem, I have no interest in having a rust mentality I have an interest in having a $businessLogicSolving mentality, and some aren’t capable of understanding it, sadly
Re:Building a Rust Mentality by burntsushi on Friday July 22, 2022 @01:31PM (#32194687)
Breaking news! Some humans lose sight of the big picture!

Tune in tomorrow where we reveal that water is, to the shock of everyone, wet.

The irony is that the real big picture here is that Rust's entire purpose of being is absolutely about $businessLogicSolving. There's a real problem where software written in C or C++ for $goodReasons seems to always wind up with large numbers of security vulnerabilities caused by memory safety bugs. That's bad for business. That's basically why Rust exists.