Channel: Italian Cpp Community
C++ is a wonderful language to use. It becomes even more wonderful if you're looking at it from the other side of the fence. Parsing and compiling C++ code is far from trivial. We'll take a look at possible representations of types inside a program which does just that. For that, we'll look at the PVS-Studio C++ analyzer's internal mechanisms that deal with types. The current implementation is somewhat questionable, so, it is being redone. I'll give you an idea of how it currently works and how it will be working. We'll also take a look at some implementation details of the new type system.
C++ code is fraught with perils and pitfalls. That's why a thorough and meticulous code review is very important. The purpose of this talk is to (hopefully) improve your ability to take on such a task. We'll take a look at some error patterns easily overlooked. In all honesty, many people just don't know about them. Meet a dangerous emplace_back, an unexpected integer overflow, a skipped memset, perils of noexcept functions, and so on.
Conference: Corehard 2019
It's a kind of humorous talk about the life of a development team which also deals with supporting C and C++ programmers. Actually, working with programmers is a lot of fun, and it is very productive. Not only can they send you a memory dump, but sometimes even partially solve the problem themselves and give you a hint. However, there's a flip side. If they have a technical issue, be ready to consume pints of coffee and loads of cookies. I shall tell you about our interesting and funny experience related to technical support of the PVS-Studio analyser - for example, how the tool goes nuts when coming across a 26mb string literal.
Conference: ClueCon Weekly
The video is on static code analysis and static code analyzer tool, which might be interesting for developers. It helps to search for potential flaws in code and finds various errors.