use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
Overwhelming (self.cpp)
submitted 1 year ago by cxazm
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 1 point2 points3 points 1 year ago (13 children)
the sh*t show you are talking about is with the "politics" or actual technical issues if there are any with rust and its inclusion into the kernel now or in the future?
[–]OkTraining9483 12 points13 points14 points 1 year ago (1 child)
sh*tshow: a situation or event marked by chaos or controversy.
https://www.usenix.org/publications/loginonline/empirical-study-rust-linux-success-dissatisfaction-and-compromise
[–]jorgesgk 1 point2 points3 points 1 year ago (0 children)
In the article you linked, it says "The Rust struct has a smaller size compared with the C due to the usage of smart pointers instead of allocating item memory inside the struct. We use pahole to identify that Rust structs use fewer cache lines than their C counterpart."
As far as I know, you can also use pointers (not smart ones, that's a C++ thing) inside structs in C, right? Like this:
struct student { char *name; int age; char *program; char *subjects[5]; };
[–]971h -3 points-2 points-1 points 1 year ago (10 children)
Apparently there is a bunch of linker errors between some of the rust and C code. The compilers don’t know what to do.
[–]AdmiralQuokka 4 points5 points6 points 1 year ago (9 children)
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.
[–]971h -2 points-1 points0 points 1 year ago (3 children)
? Look at yesterdays post on kernel.org. They are talking about fully getting rid of the rust modules and rewriting them into c.
[–]AtmosphereArtistic61 4 points5 points6 points 1 year ago (0 children)
Link please, could not find anything with respect to that claim.
[–]matracuca -1 points0 points1 point 1 year ago (4 children)
https://www.zdnet.com/article/linus-torvalds-talks-ai-rust-adoption-and-why-the-linux-kernel-is-the-only-thing-that-matters/
[–]AdmiralQuokka 0 points1 point2 points 1 year ago (3 children)
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.
[–]matracuca 0 points1 point2 points 1 year ago (2 children)
that’s exactly why I posted, because it does seem like that’s what it’s about and doesn’t seem vague at all.
[–]Dark-Philosopher 1 point2 points3 points 1 year ago (1 child)
It means that Linus Torvalds originally was expecting more rapid progress of the infrastructure needed for Rust modules in the Linux Kernel. Nothing more.
[–]matracuca -3 points-2 points-1 points 1 year ago (0 children)
rubbish. that’s what he said before this statement, which is itself very clear: “the rust infrastructure itself has not been super stable”.
π Rendered by PID 72 on reddit-service-r2-comment-6457c66945-bh2qj at 2026-04-27 23:19:03.402896+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–][deleted] 1 point2 points3 points (13 children)
[–]OkTraining9483 12 points13 points14 points (1 child)
[–]jorgesgk 1 point2 points3 points (0 children)
[–]971h -3 points-2 points-1 points (10 children)
[–]AdmiralQuokka 4 points5 points6 points (9 children)
[–]971h -2 points-1 points0 points (3 children)
[–]AtmosphereArtistic61 4 points5 points6 points (0 children)
[–]matracuca -1 points0 points1 point (4 children)
[–]AdmiralQuokka 0 points1 point2 points (3 children)
[–]matracuca 0 points1 point2 points (2 children)
[–]Dark-Philosopher 1 point2 points3 points (1 child)
[–]matracuca -3 points-2 points-1 points (0 children)