← Back to context

Comment by MangoToupe

2 days ago

> 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.

> 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.

  • 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.