Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
>
C++

Posts: C++ articles

May 18 2026
PVS-Studio in CMake: It's official now!
Taras Shevchenko
If you're working on a cross-platform project in C or C++, you usually don't rely on a single build system, but instead use a build script generator. CMake, the most popular one, has recently...
...
Apr 30 2026
Silent foe or quiet ally: Brief guide to alignment in C++. Part 3
Elizaveta Zhegalova
We've already covered basic field alignment and explored how inheritance layers data atop one another. By now you might think we have uncovered every trap. But not so fast! This topic has a...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
Apr 24 2026
Webinar series: How to make a programming language. Next up—the lexer
Polina Alekseeva
PVS-Studio presents a live-coding tutorial series on building your own programming language in...
...
Apr 21 2026
Let's check vibe code that acts like optimized C++ but is actually a mess
Andrey Karpov
Many can write code now. What makes a skilled developer is knowing how to review it. Code generation is easy. Evaluating it for proper decomposition, correctness, efficiency, and security takes...
...
Mar 31 2026
How catch-block selection works in exception handling
Anton Tretyakov
If a pill knows what to treat, could an exception also understand when to stop its journey through the stack? In application programming, a description like this is often enough, but sometimes...
...
Mar 20 2026
Let's dig into some vibe code
Andrey Karpov
Let's scrutinize some vibe code that promises to change the world or whatever. We'll review and analyze this code using static...
...
Mar 13 2026
Is OpenBSD... exotic? Community member's perspective
Taras Shevchenko
The internet is buzzing about GNU/Linux. People talk about the BSD family of operating systems less often than about this one. Are they more complex? Are they more boring? We'll get to the bottom...
...
Mar 04 2026
Comments that outlived errors
Evgenii Feklin
Many static analyzers enable suppressing individual warnings directly in code via special comments. Over time, the number of such comments in projects increases. Some of them lose their relevance...
...
Feb 25 2026
How far does lookup see in C++?
Aleksandra Uvarova
In C++, it's good practice to place functions next to the types they operate on. To apply this approach correctly, we need to understand how name lookup mechanisms work and spot where functions...
...
Feb 02 2026
Silent foe or quiet ally: Brief guide to alignment in C++. Part 2
Elizaveta Zhegalova
It seems like we've already revealed the secret of alignment and defeated an invisible enemy—unaligned access. Memory is under control, but performance still whispers, "Don't forget about...
...
View more Pagination arrow previous
Showing: - of 639