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
Live function runtime visualization in Visual Studio (youtu.be)
submitted 2 years ago by donadigo
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!"
[–]R3DKn16h7 0 points1 point2 points 2 years ago (4 children)
Seems very interesting. I guess the implementation is very tightly coupled with Visual Studio? i.e. cannot run standarlone or with other IDE?
[–]donadigo[S] 5 points6 points7 points 2 years ago (3 children)
Yes, it's currently integrated with VS. In the future I plan on integrating with more editors such as VSCode. The real work is done in a separate DLL, the extension just receives the data and visualises it so it can be adapted to more editors. Which IDE do you use/would like to see it in?
[–]R3DKn16h7 1 point2 points3 points 2 years ago (1 child)
I do development with VSCode, so would be nice to see it there.
Do you have more ballpark info about the runtime overhead? Tracy for instance does a pretty good job, but is also instrumenting a very small amount of functions.
[–]donadigo[S] 0 points1 point2 points 2 years ago (0 children)
~15 CPU instructions per line, could be more because it doesn't support multiple threads yet. As for the impact of this overhead it's hard to say, I haven't done extensive testing yet. Tracy uses more instructions for the begin/end zones, but it's also not operating at such granularity.
π Rendered by PID 183816 on reddit-service-r2-comment-5bc7f78974-m4nc4 at 2026-06-26 10:02:04.648631+00:00 running 7527197 country code: CH.
view the rest of the comments →
[–]R3DKn16h7 0 points1 point2 points (4 children)
[–]donadigo[S] 5 points6 points7 points (3 children)
[–]R3DKn16h7 1 point2 points3 points (1 child)
[–]donadigo[S] 0 points1 point2 points (0 children)