Striving For Better C++ Code, Part I: Data Flow Analysis Basics -- Anastasia Kazakova
We’ll look at the basics of data flow analysis, including how it works in general, while presenting several real-world examples where it can help you write better code.
Striving For Better C++ Code, Part I: Data Flow Analysis Basics
by Anastasia Kazakova
From the article:
All data flow inspections rely on the control-flow graph. This is a graph on which vertices are the statements in the program and edges are the control flow jumps between these statements (direct code execution, conditional jumps, loops, breaks, gotos, etc.).
For example, the control-flow graph at the right represents the function
fooon the left:


A new episode of the series about SObjectizer and message passing:
In this article, we’ll look at
A new episode of the series about SObjectizer and message passing:
How do you untie the knotty problem of complexity? Lucian Radu Teodorescu shows us how to divide and conquer difficult problems.
A new episode of the series about SObjectizer and message passing:
In this blog post, we’ll look at several different view/reference types introduced in Modern C++. The first one is
The Visual C++ team attended CppCon 2023, the largest in-person C++ conference, in Aurora, Colorado from October 2-6th. There were over 700 attendees from the C++ community, and we really enjoyed getting a chance to meet all of you and talk about your unique backgrounds and C++ experiences.
A new episode of the series about SObjectizer and message passing: