News for hackers. Stuff that matters.
Re:The Tor Project is switching to Rust by MangoToupe on Friday December 12, 2025 @09:38AM (#46244541)
> And I am also not entirely convinced that Rust is really better than C.

Well it's certainly not worse than c, and it's hard to argue it's as bad, so...

> I don't think merely moving to Rust makes Tor faster either.

It would be crazy to think switching languages would make a network protocol faster without some evidence of this.

Re:The Tor Project is switching to Rust by udhghhe on Friday December 12, 2025 @11:16AM (#46245543)
> Well it's certainly not worse than c, and it's hard to argue it's as bad, so...

Except in regards to having a proper standard (the standard from Ferrocene has significant issues), and to the size of the language and how easy it is to implement a compiler for.

There are a lot of differences and trade-offs.

Re:The Tor Project is switching to Rust by MangoToupe on Friday December 12, 2025 @12:54PM (#46246635)
This would be a fantastic argument against rust for the m68k or some other embedded architecture. But we live in a world with an actual rust compiler for basically all architectures tor serves. & obviously the c standard can't save c from itself.
Re:The Tor Project is switching to Rust by yjdiquhf on Friday December 12, 2025 @01:28PM (#46247071)
Yet you are wrong, for a standard matters about other matters, and there are many other differences. For instance, building a large project in a language with only one major compiler, can introduce risk. That rustc is open source decreases the risk from that, but getting something like gccrs up and running would be really helpful.

That parts of the Rust community has in the past been actively hostile against gccrs, is then mind-boggling. But Steve Klabnik will lie about that, as he has lied many times in the past and is his wont.

https://reddit.com/r/rust/comments/12y85ww/gcc_13_and_the_st...

> I know, please don't be discouraged. It's just an (unfortunately) prominent, loud subsection. It's not just gaslighting, it's basically concern trolling. The negative top OP plays concerned, but has been trolling GCC-RS posts for many months now. Especially on this subreddit, it's a small number of people that know how to play to a reddit audience and get people riled up. I also know that it's spread to sites like HN.

Re:The Tor Project is switching to Rust by steveklabnik on Friday December 12, 2025 @03:47PM (#46248725)
I literally said on here two days ago that I thought that in the past the Project was hostile to gccrs: https://news.ycombinator.com/item?id=46219460

I have been a fan of gccrs the entire time.

Re:The Tor Project is switching to Rust by MangoToupe on Friday December 12, 2025 @03:09PM (#46248255)
> Yet you are wrong

Ahh here you are speaking nonsense again. We ain't talking formal logic, we're speaking human to human

> For instance, building a large project in a language with only one major compiler, can introduce risk.

Ok let's introduce an alternative to gcc then

> But Steve Klabnik will lie about that

You seem fine to both tarnish the reputation of, erm, c defenders with your own actions and to slander the reputation of Klabnik (or "lie" as I'm sure you'd term it), who both speaks more coherently and with his own name. Why do this in the name of open source if you have nothing to contribute, knowing that you're setting your own project back?