News for hackers. Stuff that matters.
Re:The Tor Project is switching to Rust by uecker on Friday December 12, 2025 @12:02PM (#46246041)
It seems they worry about it, which I can understand. But now with Rust I worry about about new logic bugs, supply chain issues, and lack of proper security updates.
Re:The Tor Project is switching to Rust by steveklabnik on Friday December 12, 2025 @01:07PM (#46246797)
Well, given that this has been going on for years, you can already start to empirically evaluate that question.
Re:The Tor Project is switching to Rust by yjdiquhf on Friday December 12, 2025 @01:18PM (#46246940)
> (So far, it's a not-very-complete client. But watch this space!)
Re:The Tor Project is switching to Rust by steveklabnik on Friday December 12, 2025 @01:27PM (#46247052)
Yes, it's a beginning not the end.

Or, you could look at other projects who have been using Rust for many years, and consider these factors there too. The folks who have have generally concluded the opposite.

[dead]
Re:The Tor Project is switching to Rust by steveklabnik on Friday December 12, 2025 @03:40PM (#46248629)
Do you think the sibling comment was flagged to "protect me" whatever that means, or is it because "Are you high on Prozac?" is not really a productive comment?

EDIT: And now that I've scrolled down, I see you've left this comment many times as random replies. I'm sure those will get flagged, but for spam reasons, not due to some grand conspiracy.

Re:The Tor Project is switching to Rust by uecker on Saturday December 13, 2025 @02:50AM (#46252883)
The distribution I use already has limited security updates for Rust: https://www.debian.org/releases/trixie/release-notes/issues.... which reduces my security. The cargo supply chain issues are also very obvious, I am far more worried about this than I ever will be about memory safety, but hopefully tor reduces its reliance on random dependencies.
Re:The Tor Project is switching to Rust by steveklabnik on Saturday December 13, 2025 @10:38AM (#46255297)
I find that surprising given that Debian breaks Rust programs up into individual apt packages, but ultimately, other distros do not have this issue. It’s also about userspace programs and not the kernel, which does not use external packages and so sidesteps this completely.

Debian forky has Rust in the kernel on by default.

Re:The Tor Project is switching to Rust by uecker on Saturday December 13, 2025 @11:15AM (#46255614)
I guess the want to be able to update individual libraries to provide security updates.
Re:The Tor Project is switching to Rust by steveklabnik on Saturday December 13, 2025 @12:59PM (#46256474)
Right, from my understanding, Debian was packaging Rust programs in the same way as C ones. So they’d update the individual library and it should be all good. They deduplicated all of the dependencies in their trees.
Re:The Tor Project is switching to Rust by uecker on Sunday December 14, 2025 @04:02AM (#46261775)
This seems reasonable to me. If you have a tarmaggeedon, you update one library instead of thousand of packages. Although I am not sure how well this can work in Rust with monomorphization.