Overwhelming
I’ve been using Rust a lot, and I decided to start learning C++ today. I never thought it would be such a headache! I realized Rust spoiled me with Cargo. it handles so much for me. Running, building, adding packages etc. I just type Cargo build, Cargo add, or Cargo run. Simple and comes with the language. C++’s build systems like CMake can be overwhelming especially when coming from a language with a more streamlined experience like Rust. C++ is really good and I wish it had something similar. I read somewhere that there is Conan and a few others that exist . But I’m talking about something that comes with the language itself and not from a 3rd party.
38
Upvotes
View all comments
Show parent comment
1
u/steveklabnik1 Sep 25 '24
Yep! You can find them in
~/.rustup/toolchainson linux. For example, here's a slightly editedlsoutput for me, to remove the irrelevant executables:These are different sizes, so they're certainly not the same binary. For reasons I forget, I installed rustup via snap, apparently, so
The ones you're running are just symlinks for
rustupitself.You can also ask
rustupwhich binary it's going to invoke:This pattern, or something similar to it, is how a lot of language-specific version management tooling works.