←back to thread

348 points giuliomagnifico | 3 comments | | HN request time: 0s | source
Show context
shevy-java ◴[] No.46243731[source]
Hmmmm.

My biggest gripe with the Tor project is that it is so slow.

I don't think merely moving to Rust makes Tor faster either. And I am also not entirely convinced that Rust is really better than C.

replies(10): >>46243753 #>>46243757 #>>46243847 #>>46244186 #>>46244200 #>>46244358 #>>46244381 #>>46244536 #>>46244541 #>>46245224 #
MangoToupe ◴[] No.46244541[source]
> 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.

replies(1): >>46245543 #
udhghhe ◴[] No.46245543[source]
> 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.

replies(1): >>46246635 #
1. MangoToupe ◴[] No.46246635[source]
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.
replies(1): >>46247071 #
2. MangoToupe ◴[] No.46248255[source]
> 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?

3. steveklabnik ◴[] No.46248725[source]
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.