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

  1. 1
    Homepage
    3 people · first shared 2018
  2. 2
  3. 3
  4. 4
    Does the Boost library meet its original goal?
    1 people · 73 points · first shared 2017 · 45 comments on HN
  5. 5
  6. 6
    What made John Carmack a legend in C++ programming?
    1 people · 35 points · first shared 2018 · 10 comments on HN
  7. 7
  8. 8
    Some C++ good practices from the OpenCV source code
    1 people · 10 points · first shared 2018 · discussion on HN
  9. 9
  10. 10
    Easy steps to modernize your C++ code
    1 people · 8 points · first shared 2018 · 1 comments on HN
  11. 11
  12. 12
    Try to understand the Linus Trovalds C++ opinion
    1 people · 7 points · first shared 2018 · discussion on HN
  13. 13
  14. 14
  15. 15

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).

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close