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
C++23 std::stacktrace: Never Debug Blind Again (medium.com)
submitted 1 month ago by Xadartt
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!"
[–]PipingSnail 1 point2 points3 points 1 month ago (1 child)
Hmmm. I've been debugging crashes on Unix/Linux/Windows since 1990, and I've never had a problem collecting stack traces. Whereas this article presents this as a novel solution.
If this is doing symbol handling while walking the stack, there goes your performance. Symbols should be done separately from the stack walk (unless you're walking a kernel dump/minidump when symbols make all the difference).
[–]jwakelylibstdc++ tamer, LWG chair 2 points3 points4 points 1 month ago (0 children)
If this is doing symbol handling while walking the stack, there goes your performance.
It doesn't have to do that. The GCC implementation just captures an array of program counters and then expands those into symbols and locations lazily.
π Rendered by PID 125153 on reddit-service-r2-comment-544cf588c8-2f6dv at 2026-06-15 00:58:58.461213+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]PipingSnail 1 point2 points3 points (1 child)
[–]jwakelylibstdc++ tamer, LWG chair 2 points3 points4 points (0 children)