News for hackers. Stuff that matters.
Re:The Tor Project is switching to Rust by xedrac on Friday December 12, 2025 @10:47AM (#46245224)
I agree it probably won't make it faster. But there is absolutely no comparison when it comes to safety/stability. I've written a ton of C code, and it's just not even close. Rust really outshines C and C++ in this regard, and by a very large margin too.
Re:The Tor Project is switching to Rust by udhghhe on Friday December 12, 2025 @11:14AM (#46245521)
How much C++ have you written? Not C, but C++.

Do you like pattern matching in Rust? It is one of the features that Rust does decently well at.

Re:The Tor Project is switching to Rust by xedrac on Monday December 15, 2025 @01:01AM (#46270954)
I've written C++ for 15 years. It's the language I have the most experience with. And yes, pattern matching is a must, particularly for any language that has sum types.