Contributions
Article
We're introducing an updated edition of the terrible tips for a C++ developer book. Each part will feature a list of "tips" that developers really shouldn't follow. The book includes a total of 60 tips.
Article
C++ is a language that lets developers do absolutely anything, and then it just silently watches as they blow everything up. We're used to thinking in terms of bytes, but what if the standard type system seems too wasteful?
Article
This book offers insights into C++, including the algorithms and practices used in game development, and explores the language's strengths and weaknesses, its established workflows, and hands-on solutions, because C++ still dominates the game industry today thanks to its combination of high performance, flexibility, and deep low-level control.
Article
There's an old joke among programmers that you should never pay them by the line of code, because they'll end up writing long, pointless code and leaning hard on copy-paste. These days that joke writes itself, except now the "programmer" is GenAI, and it actually gets paid per line. Ironic.
Event
We continue building our own programming language from scratch. In the previous session, we introduced variables. Now it's time to add one of the core building blocks of any language: functions.
In this webinar, Yuri will walk through the implementation step by step, demonstrating how functions, scopes, and symbol lookup are built in code using C++. Along the way, you'll gain a deeper understanding of one of the fundamental mechanisms behind modern programming languages.
In this webinar, Yuri will walk through the implementation step by step, demonstrating how functions, scopes, and symbol lookup are built in code using C++. Along the way, you'll gain a deeper understanding of one of the fundamental mechanisms behind modern programming languages.
Article
Article
We continue building our own programming language from scratch. In this session, we'll take the next step by adding variables to the language.
Article
In this article, the author compare four game engine architectures (microkernel, data-driven, monolith, and modules) using CryEngine, Dagor, X-Ray, and Godot as examples.
Article
A code check of a popular open-source 3D printing slicer.
Article
How much does team structure affect the engine that gets built? Conway's Law in action. The author uses Unity and Unreal as examples to show how org decisions drive code architecture. Plus a few words on Big Ball of Mud, layered architecture, and more.
Event
In this live coding session, we'll explain how ASTs work, show how to build them step by step, and create a printer that makes parsed code much easier to visualize and inspect.
Event
We’ll explain what a parser is, walk through the recursive descent approach, and then demonstrate how to build your own expression parser from scratch.
Article
PVS-Studio presents a live-coding tutorial series on building your own programming language in C++.
Article
The value of a skilled developer is shifting toward the ability to effectively review code. Although generating code now is easier than ever, evaluating it for proper decomposition, correctness, efficiency, and security is still important. To see why it's important to understand generated code and to recognize what lies beneath a program's elegant syntax, let's look at a small project called markus, created using Claude Opus.
Article
Even though we write code every day, we often view the compiler as a "black box." Today, let's explore how a compiler actually works, discuss its lifecycle, and see where trees come into play.
Article
This book offers insights into C++, including algorithms and practices in game development, explores strengths and weaknesses of the language, its established workflows, and hands-on solutions. In this excerpt, the author shows why C++ still rules game dev? Should you build your engine? More game dev useful stuff can be found in the article.
Article
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 one wants more details. Well, let's dive in!
Article
Let's scrutinize some vibe code that promises to change the world or whatever. We'll review and analyze this code using static analysis.
Article
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 of these questions with one of the most active members in the OpenBSD community!
Event
PVS-Studio presents a series of webinars on how to build your own programming language in C++. In the first session, PVS-Studio will go over what's inside the "black box". In clear and plain terms, we'll explain what a lexer, parser, a semantic analyzer, and an evaluator are.
Yuri Minaev, C++ architect at PVS-Studio, will talk about what these components are, why they're needed, and how they work.
Join us for an engaging and approachable session. See you there!
Yuri Minaev, C++ architect at PVS-Studio, will talk about what these components are, why they're needed, and how they work.
Join us for an engaging and approachable session. See you there!
Article
We invite you to read an article on how C++ is used in modern game development and why the industry is still not ready to move away from it. The author explores how C++ works at different levels of game engines and how performance requirements, legacy code, and platform constraints make an impact on the industry.
Article
All year long, we've been riding across the vast plains of open-source code, investigating crimes, taking out vulnerabilities, and collecting trophies. Today, we decided to step into the dustiest saloon: an experienced sheriff leans against the bar and reminisces about ten most daring and dangerous bugs in the Wild West.
Showing the last 30 only...