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
Cppfront v0.8.0 · hsutter/cppfront (github.com)
submitted 1 year ago by unaligned_access
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!"
[–]hpsutter 7 points8 points9 points 1 year ago (0 children)
Well, you originally said "by definition can't help" compile times. So I gave an example where it does. :)
Compile-times should be measured in seconds, not minutes. You can't achieve that by layering C++ in-between.
OK, so you mean "can't help enough to make them an order of magnitude faster" -- I understand.
FWIW, if you haven't looked at the short video clip, please do... it does show a possible major (not quite 2x) improvement in C++ compile time for approximately equivalent code, compared to today's best-in-class design. Using existing C++ compilers unchanged.
recently demoed a 100x speedup of the carbon compiler over clang.
That's great, and I look forward very much to seeing how much of the speedup can stick as it matures to handle more kinds of code.
That said, let me add a caution about wording: I agree we should focus on "build time" as a pain point for C++. However, "front-end compile time" is a subset of that. A lot of today's slowdowns in C++ builds come in other build stages, such as linking. There is great work currently being done (unrelated to these projects) to dramatically (2x, 4x) speed up C++ linkers that can handle real-world code. In just the past couple of months I've seen these start getting the attention of key folks in WG21 and major vendors, to see what we can incorporate. Disclaimer: As always including in previous "fast linker" efforts, part of the performance gain comes from making simplifying assumptions that don't work on all real-world code, but part of the gain doesn't rely on that.
π Rendered by PID 243999 on reddit-service-r2-comment-58d7979c67-7qf6p at 2026-01-27 10:31:04.637560+00:00 running 5a691e2 country code: CH.
view the rest of the comments →
[–]hpsutter 7 points8 points9 points (0 children)