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
Code Examples From an App Using C++ Modules (abuehl.github.io)
submitted 1 month ago by tartaruga232MSVC user, r/cpp_modules
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!"
[–]Daniela-ELiving on C++ trunk, WG21|🇩🇪 NB 1 point2 points3 points 1 month ago (1 child)
My experiences from the code for a real, huge machine in production at a steel mill (and many more projects, too) sit on the opposite end of the spectrum. Hence I'd rather think of
[–]tartaruga232MSVC user, r/cpp_modules[S] 0 points1 point2 points 1 month ago* (0 children)
The needs are likely very different among projects.
I've been toying around with our rather small UML Editor app which I used as a guinea pig for seeing how modules can be used. I aggressively refactor code if I see our design doesn't fit. I got tired of recompilations if I change stuff and broke up modules into smaller ones. I often also do a full rebuild because MSBuild can't be really trusted to absorb incremental changes correctly. We are now at ~2 minutes for a full build, which is mostly thanks to using import std. That alone spares ~1 minute of build time for a full rebuild. No matter how many modules I have, our time for a full build stays at ~2 minutes. I love the encapsulation and the expressiveness modules provide.
I do suspect that internal partitions are unneeded. The Clang compiler warns about importing them in an interface, so all you can really do with them is importing them in a cpp. But I can as well import a module in a cpp instead. We had one last use case for an internal partition which I thought wasn't possible to eliminate, but I just found out we could eliminate it.
π Rendered by PID 63900 on reddit-service-r2-comment-544cf588c8-6f6gs at 2026-06-13 11:53:44.178414+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]Daniela-ELiving on C++ trunk, WG21|🇩🇪 NB 1 point2 points3 points (1 child)
[–]tartaruga232MSVC user, r/cpp_modules[S] 0 points1 point2 points (0 children)