News for hackers. Stuff that matters.
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.