CppDepend Blog
cppdepend.com · Company blog · on HN since 2013
The CppDepend company blog covers C and C++ code analysis, dependency visualization, and language topics like small string optimization.
What HN saysHN commenters mention CppDepend for navigating large unfamiliar codebases with its dependency graph, and link its small string optimization post. Others suggest treemaps instead.
16HN people shared it
4linked it in comments
63stories submitted
471story points
2 years agolast shared
2013people per year2026
Most-shared posts
- 1Homepage3 people · first shared 2018
- 213 years after the Herb Sutter prediction. does the free lunch really over?2 people · 9 points · first shared 2018 · discussion on HN
- 3Elevate your C programming skills by exploring the SQLite codebase1 people · 105 points · first shared 2017 · 73 comments on HN
- 4Does the Boost library meet its original goal?1 people · 73 points · first shared 2017 · 45 comments on HN
- 5Easy way to detect where the C++11/C++14 features are used in a C++ project1 people · 48 points · first shared 2017 · 23 comments on HN
- 6What made John Carmack a legend in C++ programming?1 people · 35 points · first shared 2018 · 10 comments on HN
- 7Chris Lattner, the young developer who made a revolution in the C++ world1 people · 24 points · first shared 2018 · 3 comments on HN
- 8Some C++ good practices from the OpenCV source code1 people · 10 points · first shared 2018 · discussion on HN
- 950 years since its creation. Why the C language still very popular?1 people · 9 points · first shared 2018 · 1 comments on HN
- 10Easy steps to modernize your C++ code1 people · 8 points · first shared 2018 · 1 comments on HN
- 11Crossing the chasm theory could explains the C++ reborn and the python rising1 people · 8 points · first shared 2018 · discussion on HN
- 12Try to understand the Linus Trovalds C++ opinion1 people · 7 points · first shared 2018 · discussion on HN
- 13The 15 C++11 features you must really use in your C++ projects1 people · 7 points · first shared 2018 · 1 comments on HN
- 14The C++20 Concept is the missing feature to eliminate the generics drawbacks1 people · 6 points · first shared 2018 · discussion on HN
- 15Be inspired by the genius Linus Torvalds to write an efficient C Code1 people · 6 points · first shared 2018 · discussion on HN
What HN people wrote when they linked it
jxramos · 2024-03-01
I like to use cppdepend to navigate a large and unfamiliar codebase https://www.cppdepend.com. The interactive dependency graph and integration to the editor to jump back and forth in diagrams to actual code and the many logical constructs in the source certainly accelerates getting a quick sense of the layering and a bit of the architecture of the project.
danbruc · 2018-11-04
Some kind of treemap [1] might be a better visualization option, 3D visualizations are notoriously hard to navigate. NDepend [2] is a code analysis tool for .NET which, among other things, uses treemaps to visualize code bases. There are also a versions for Java [3] and C++ [4].
[1] https://en.wikipedia.org/wiki/Treemapping
[2] https://www.ndepend.com/screenshots
[3] https://www.jarchitect.com
[4] https://www.cppdepend.com
Reelin · 2019-12-05
I believe I was primarily using Architexa (https://github.com/i3labs/architexa), but it was a number of years ago when I was working exclusively in Java.
JetBrains also provides a few diagramming plugins, but I've never used them.
I haven't yet come across tooling that does the same for C, C++, or D. This response inspired me to take a look though, and I did find something for Python (https://stackoverflow.com/questions/45238329). Thinking about it, the instrumentation approach taken there might actually work fairly well for most systems languages assuming you don't have any dead (or rarely called) code. Graphviz could be combined with the "-finstrument-functions" GCC flag and a few supporting data structures. Templated code would be tricky to deal with though.
Edit: Just came across CppDepend (https://www.cppdepend.com/). It's proprietary, but appears to be incredibly powerful at first glance. See its dependency analysis in particular (https://www.cppdepend.com/dependenciesview).
plainlee · 2024-11-15
No small string optimization?
https://cppdepend.com/blog/understanding-small-string-optimization-sso…