Ilya Doroshenko
4 results
The time has come, fellow devs. We are on our way to uncover the newest concept of C++ language - Coroutines. They are already used by several programming languages, like C# async tasks and yield iterables, forming LINQ base; JS with awaitables, replacing the old way of making consecutive calls, that was hard to understand […]
Last time we touched upon object lifetime and today we wrap up the basics with a bit of a spicy topic of object ownership. We covered the lifetime quirks, and we found out that manual memory management can be a nightmare, even if we new and delete in the correct order. There must be something […]
Object Lifetime in C++
6 June 2023
Last time we discussed Value Semantics. However, I missed one topic that is super important for a better understanding of basic building blocks of C++. Today, we are going to talk about an object. Without further ado, let’s dive deeper! What is an object? According to the C++ standard, part 3.9.8 under the name […]
C++ is an old language. Many aspects of our programming styles have become habits that we do not think about too much today. In this blog, I’m going to address one major issue that has resulted from such habits and get you prepared for a new bright world of C++2b. So without further ado, let’s […]