Re:The Tor Project is switching to Rust
by steveklabnik on Friday December 12, 2025 @01:12PM
(#46246873)
You and your parent are talking about slightly different things. You are both correct in different ways.
Your parent is saying that, while what you say is true for Rust and Go code themselves, in practice, it is less true for Rust, because Rust code tends to call into C code more than Go code does, and Rust doesn't always statically link to that C code by default.
Re:The Tor Project is switching to Rust
by lynndotpy on Friday December 12, 2025 @02:14PM
(#46247616)
Oh that makes more sense! That's a bit of a blindspot to me for the pretty bog-standards ways I'd been using Rust and Go.
Re:The Tor Project is switching to Rust
by johncolanduoni on Friday December 12, 2025 @09:45PM
(#46251536)
Golang doesn't dynamically link to libc by default on Linux either - it calls the Linux kernel ABI directly (since that ABI is stable). The main upshot of this is that you don't have to worry about the classic glibc version bingo by default, while with Rust you have to go through some extra steps to avoid that.
I've never had to do anything unusual with building, but I thought the "almost-ststically-compiled" thing was somewhere Go and Rust were almost identical.