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

Posts: articles

Jun 05 2024
Volatile, DCL, and synchronization pitfalls in Java
Konstantin Volohovsky
What if common knowledge is actually more nuanced, and old familiar things like Double-checked locking are quite controversial? Examining the code of real projects gives this kind of thought. In...
...
May 30 2024
Error on verge of extinction, or why I put if (x = 42) in Red List of C & C++ bugs
Andrey Karpov
If we ask a programmer what bugs are the most common in C and C++ code, they'll name a null pointer dereference, undefined behavior, array overrun, and other typical error patterns. They may name...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
May 29 2024
What errors are lurking in LLVM code?
Alexey Smolskas
LLVM is an open-source project with a pretty large code base. The acme in terms of code quality, considering its size and open-source nature. After all, it's the developers of compiler tools who...
...
May 23 2024
C++: freeing resources in destructors using helper functions
Andrey Karpov
In this article, we'll look at how to correctly destroy objects in the OOP-based C++ program without redundant operations. This is the final article in the series about the bugs in...
...
May 22 2024
Garnet. Does Microsoft's cache -store also store bugs?
Artem Rovenskii
Microsoft has introduced Garnet, an open-source, cross-platform, fast cache-store project written in C#. Let's equip ourselves with a static analyzer to see what bugs and oddities hide in the...
...
May 16 2024
Let's check the qdEngine game engine, part three: 10 more bugs
Andrey Karpov
In the first article about qdEngine, we've discussed 10 errors selected by the PVS-Studio plugin. However, we have 10 more bugs that are worth mentioning. As they say, it's better to learn from...
...
May 14 2024
Eleven moments of ReactOS: user mode gets better?
Taras Shevchenko
ReactOS is a project where the victory over regression and the delivery of a new feature (or its working prototype) are loudly celebrated. Even the FOSS community has to take a break from...
...
May 07 2024
Let's check the qdEngine game engine, part two: simplifying C++ code
Andrey Karpov
In this article, we'll discuss how the PVS-Studio static analyzer encourages developers to refactor their code. After all, the shorter, simpler, and clearer the code is, the fewer errors it...
...
May 02 2024
Compilation of gripping C++ conference talks from 2023
Uliana Khromchenko
A new conference season is on its way, so we'd like to invite you to read some of the best C++ talks from the last season. You can learn more about C++ and get inspired in this compilation of...
...
Apr 27 2024
Let's check the qdEngine game engine, part one: top 10 warnings issued by PVS-Studio
Andrey Karpov
The bugs found in the qdEngine game engine are quite diverse, so I don't want to put them all in one publication. Our readers may miss out on interesting topics on writing high-quality code...
...
View more Pagination arrow previous
Showing: - of 1508