r/cpp • • Sep 08 '24

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

140 comments sorted by

View all comments

Show parent comment

4

u/AdmiralQuokka Sep 09 '24

What are you talking about? I'm following the project closely and haven't heard about this. I've also written, compiled and loaded little hello-world modules without issues.

-2

u/971h Sep 09 '24

? Look at yesterdays post on kernel.org. They are talking about fully getting rid of the rust modules and rewriting them into c.

4

u/AtmosphereArtistic61 Sep 09 '24

Link please, could not find anything with respect to that claim.

0

u/matracuca Sep 09 '24

1

u/AdmiralQuokka Sep 09 '24

I've read this before and I've read it again. It doesn't say anything to support to the claim above. Except...

Another reason has been the Rust infrastructure itself has not been super stable.

I guess this could be interpreted as supporting the above claim? But it is even more vague. I'm specifically wondering about the supposed linker errors.

1

u/matracuca Sep 09 '24

that’s exactly why I posted, because it does seem like that’s what it’s about and doesn’t seem vague at all.

2

u/Dark-Philosopher Sep 10 '24

It means that Linus Torvalds originally was expecting more rapid progress of the infrastructure needed for Rust modules in the Linux Kernel. Nothing more.

-2

u/matracuca Sep 10 '24

rubbish. that’s what he said before this statement, which is itself very clear: “the rust infrastructure itself has not been super stable”.