BUG OF THE MONTH | Dereferencing of the null pointerContinue reading
The PVS-Studio team is increasing the number of diagnostics with each new release. Besides, we are improving the analyzer’s infrastructure. This time we added the plugin for JetBrains CLion. Moreover, we introduced intermodular analysis of C++ projects and speeded up the C# analyzer core.Continue reading
BUG OF THE MONTH | Using memset to clear memoryContinue reading
BUG OF THE MONTH | new – delete ErrorContinue reading
This content brought to you by Andrew Dominik from qualityguestpost
C++ is an extension of C language. C++ programming language is complex, but strongly preferred in today’s IT sector. You will come across some part of its codebase in generally every system or program. It is the first language developers interested in programming start with. You can learn it with ease as it is purely a concept-based language. The syntax is uncomplicated, so you can easily replicate its writing. Its use is regarded as a safe language due to its valuable features and security. People learn C++ because of several reasons –Continue reading
Spoiler: C++ is not faster or slower – that’s not the point, actually. This article continues our good tradition of busting myths about the Rust language shared by some big-name Russian companies.
The previous article of this series is titled “Go is faster than Rust: benchmarked by Mail.Ru (RU)“. Not so long ago, I tried to lure my coworker, a C-programmer from another department, to Rust. But I failed because – I’m quoting him:
In 2019, I was at the C++ CoreHard conference, where I attended Anton @antoshkka Polukhin’s talk about the indispensable C++. According to him, Rust is a young language, and it’s not that fast and even not that safe.
Anton Polukhin is a representative of Russia at the C++ Standardization Committee and an author of several accepted proposals to the C++ standard. He is indeed a prominent figure and authority on everything C++ related. But his talk had a few critical factual errors regarding Rust. Let’s see what they are.
This post continues the series of articles, which can well be called “horrors for developers”. This time it will also touch upon a typical pattern of typos related to the usage of numbers 0, 1, 2. The language you’re writing in doesn’t really matter: it can be C, C++, C#, or Java. If you’re using constants 0, 1, 2 or variables’ names contain these numbers, most likely, Freddie will come to visit you at night. Go on, read and don’t say we didn’t warn you.
Perhaps every microcontroller software developer has heard about special coding standards to help improve the code security and portability. One of such standards is MISRA. In this article, we’ll take a closer look at what this standard is, its concept and how to use it in your projects.
BUG OF THE MONTH | A guy sent an email to our support saying that the analyzer was producing four false positives at once on one line of his code.
BUG OF THE MONTH | A typo