How has LINQ performance enhanced in .NET 7? https://pvs-studio.com/en/blog/posts/csharp/1011/
PVS-Studio
How has LINQ performance enhanced in .NET 7?
New version of .NET enhanced the performance of the Min, Max, Average and Sum methods for arrays and lists. How much do you think their execution speed has increased? 2x or 5x? No, they got…
Why are you doing my job? Types of people who don't write to support https://pvs-studio.com/en/blog/posts/1012/
PVS-Studio
Why are you doing my job? Types of people who don′t write to sup…
The title of an article should be catchy and hint at its contents. So, over time a user support specialist might collect questions to the users. One of them looks like this: Why are you doi…
PVS-Studio: 2 features for a quick start https://pvs-studio.com/en/blog/posts/1013/
PVS-Studio
PVS-Studio: 2 features for a quick start
In this note I′ll share with you some tips on how to easily start using PVS-Studio. Let′s explore these two use cases: when you try the analyzer for the first time and when you integrate it…
PVS-Studio and RPCS3: the best warnings in one click https://pvs-studio.com/en/blog/posts/cpp/1014/
PVS-Studio
PVS-Studio and RPCS3: the best warnings in one click
Best Warnings — the analyzer′s mode that displays 10 most interesting warnings in the output window. We invite you to take a look at the updated Best Warnings mode on the example of the RPC…
.NET 7: suspicious places and errors in the source code https://pvs-studio.com/en/blog/posts/csharp/1015/
PVS-Studio
.NET 7: suspicious places and errors in the source code
.NET 7 has been released! It′s time for us to dig into its source code and start looking for errors and strange code fragments. In this article, you′ll see comments on our findings from the…
PVS-Studio 7.22: Visual Studio Code, Qt Creator, .NET 7 https://pvs-studio.com/en/blog/posts/1016/
PVS-Studio
PVS-Studio 7.22: Visual Studio Code, Qt Creator, .NET 7
PVS-Studio 7.22 has been released. It includes plugins for Visual Studio Code and Qt Creator, support of .NET 7 projects analysis, enhanced Best Warnings filter and new diagnostic rules. Le…
Help the compiler, and the compiler will help you. Subtleties of working with nullable reference types https://pvs-studio.com/en/blog/posts/csharp/1017/
PVS-Studio
Help the compiler, and the compiler will help you. Subtleties of working with nullable reference types in C#
Nullable reference types appeared in C# 3 years ago. By this time, they found their audience. But even those who work with this beast may not know all its capabilities. Let′s figure out how to work...
Christmas holidays with PVS-Studio https://pvs-studio.com/en/blog/posts/1018/
PVS-Studio
Christmas holidays with PVS-Studio
Christmas holidays are the most beloved and cherished ones all over the world. Gifts, decorations, family and friends all gathered together — these are the essentials of Christmas and New Y…
PVS-Studio and protobuf-net: best warnings are one click away https://pvs-studio.com/en/blog/posts/csharp/1019/
PVS-Studio
PVS-Studio and protobuf-net: best warnings are one click away
Let′s delve into best practice of getting acquainted with PVS-Studio. We′ll show you a quick start of working with the analyzer using protobuf-net as an example.
Top 10 bugs found in C# projects in 2022 https://pvs-studio.com/en/blog/posts/csharp/1020/
PVS-Studio
Top 10 bugs found in C# projects in 2022
In 2022, the PVS-Studio developers wrote lots of articles where they described bugs found in open-source projects. Now it′s time to choose the most interesting ones.
How to create a .NET library: a complete guide https://pvs-studio.com/en/blog/posts/csharp/1022/
PVS-Studio
How to create a .NET library: a complete guide
Looking to build a .NET library, but unsure where to begin? Already developing something similar, but want to discover something new? Looking for ways to extend automation? Not sure what to do with...
PVS-Studio now analyzes Blazor components https://pvs-studio.com/en/blog/posts/csharp/1023/
PVS-Studio
PVS-Studio now analyzes Blazor components
Hello everyone. This is a small article about how PVS-Studio analyzes Blazor components. We′ll try to anticipate your questions and answer them here. Enjoy!
Falsehoods programmers believe about undefined behavior https://pvs-studio.com/en/blog/posts/cpp/1024/
PVS-Studio
Falsehoods programmers believe about undefined behavior
Undefined behavior (UB) is a tricky concept in programming languages and compilers. I′ve heard many misconceptions about what the compiler guarantees in the presence of UB. This is unfortunate but...
C++ — programming language of the year 2022. What about other languages? https://pvs-studio.com/en/blog/posts/1026/
PVS-Studio
C++ — programming language of the year 2022. What about other la…
Overtaking Python, C++ became the TIOBE′s language of 2022. It outscored Rust, C#, Go and others by a large margin. Don′t you find this weird? Well, let′s figure this out.
Wave Function Collapse for procedural generation in Unity https://pvs-studio.com/en/blog/posts/csharp/1027/
PVS-Studio
Wave Function Collapse for procedural generation in Unity
Wave Function Collapse is an algorithm that can generate anything by arranging it according to rules or samples. In this article, we are going to look at how to use WFC to generate a map in Unity.
Under the hood of SAST: how code analysis tools look for security flaws https://pvs-studio.com/en/blog/posts/cpp/1028/
PVS-Studio
Under the hood of SAST: how code analysis tools look for security flaws
Here we′ll discuss how SAST solutions find security flaws. I′ll tell you about different and complementary approaches to detecting potential vulnerabilities, explain why each of them is necessary...
What you need to know about PVS-Studio enhancements https://pvs-studio.com/en/blog/posts/1029/
PVS-Studio
What you need to know about PVS-Studio enhancements
In this article, you are going to learn about new useful features appeared in PVS-Studio over the past three years. The article contains several sections — so, you don′t have to read the wh…
Overview of the PVS-Studio plugin for Visual Studio Code https://pvs-studio.com/en/blog/posts/1030/
PVS-Studio
Overview of the PVS-Studio plugin for Visual Studio Code
Now you can take advantage of static analysis when working with the Visual Studio Code editor due to the new PVS-Studio extension. In this article, we will explore the use of the plugin, fr…