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

Posts: # Cpp

Jul 08 2024
An insect is sitting in your compiler and doesn't want to leave for 13 years
Grigory Semenchev
Let's imagine you have a perfect project. Tasks get done, your compiler compiles, static analyzers analyze, and releases get released. At some point, you decide to open an ancient file that...
...
Jun 26 2024
12 moments of typos and copy-paste, or why AI hallucinates: checking OpenVINO
Alexey Gorshkov
"OpenVINO is a toolkit that boosts deep AI learning to interact with the real world. Now it's more effective!" This incredible news is a call to action for us. The project code has been...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
Jun 24 2024
C++ programmer's guide to undefined behavior: part 2 of 11
Andrey Karpov, Dmitry Sviridkin
Your attention is invited to the second part of an e-book on undefined behavior. This is not a textbook, as it's intended for those who are already familiar with C++ programming. It's a kind of...
...
Jun 19 2024
I _____ hate arrays in C++!
Anton Tretyakov
Or why I think developers need to know about them but should not use...
...
Jun 14 2024
Smile while drowning in bugs
Evgenii Feklin
Many times, we've written about bugs in games, in space flight software, etc. Now we'd like to honor the tradition. This time, we'll take a look at the bugs that have crept into some of the...
...
Jun 11 2024
How much UB is in my compiler?
Alexey Smolskas
C and C++ developers have two bug-related headaches: memory leaks and undefined behavior. As you can guess, I'll talk about undefined behavior—and about "my" compiler. To be more precise, I'll...
...
Jun 07 2024
C++ programmer's guide to undefined behavior: part 1 of 11
Andrey Karpov, Dmitry Sviridkin
Your attention is invited to the first part of an e-book on undefined behavior. This is not a textbook, as it's intended for those who are already familiar with C++ programming. It's a kind of...
...
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...
...
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...
...
View more Pagination arrow previous
Showing: - of 641