News for hackers. Stuff that matters.

udhghhe

Re:The Tor Project is switching to Rust 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 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 on Friday December 12, 2025 @11:12AM (#46245494)
But with no_std, Rust is not memory safe, even when not using unsafe. It does have pattern matching and modules, however.
Re:The Tor Project is switching to Rust on Friday December 12, 2025 @11:09AM (#46245463)
There are architectural concerns. Even when Rust proponents and cultists try to harass unrelated projects into submission, as they are wont to do.

https://github.com/microsoft/typescript-go/discussions/411

Re:The Tor Project is switching to Rust on Friday December 12, 2025 @11:05AM (#46245419)
Thing is, Rust is not a memory safe programming language. It's not even close to being one.

> Diagnosing a Double-Free Concurrency Bug in Rust's Unbounded Channels

https://materialize.com/blog/rust-concurrency-bug-unbounded-...