Home
Sandor Dargo's Blog
Cancel

The run-time, compile-time, binary size triangle

Often we start software development, we only care about writing some code. Or actually about writing the most amount of code that is possible. We often don’t really know how to build C++ files, but...

The 8 best books I read in 2022

There is barely any day for me without reading a book. On days when I can’t read I really miss it. Sadly there were quite a few such days lately. It feels bad. It feels like my mind is hungry. When...

2022: Another great year!

It’s such a cliché to say that the year was busy. But it was. Probably it’d be better to say it was incredibly fruitful, even though I didn’t meet many of the goals I set for this year. Anyway, it...

Class templates versus constructor templates

I realized that this simple but important difference should be covered twice during the last year. Once when I wrote about how shared and unique pointers take their deleters, and once when I read T...

C++ Software Design by Klaus Iglberger

The first time I - virtually - met Klaus was at C++ On Sea, I think in 2020. He held a workshop about modern software design which I managed to partially attend. He spoke in a slow and friendly man...

C++23: attributes

C++11 introduced attributes. Even though the language itself only came with two ([[noreturn]] and [[carries_dependency]]), it also provided the unified standard syntax for *implementation-defined l...

C++23: std::out_ptr and std::inout_ptr

This week, let’s continue exploring the new world of C++23. We are going to discuss two new standard library functions and their outputs (std::out_ptr, std::inout_ptr), two new standard library typ...

Influence: The Psychology of Persuasion by Robert B. Caldini

An easy-to-read book for those who want to learn about how influencing others works. It’s not only useful to learn how to influence other people but also to understand how others try to manipulate ...

C++23: auto(x) and decay copy

When I first saw auto I thought that woah, not so fast, how am I going to know the type of my variables? Then I started to understand that auto helps in so many different ways. It helps remove the ...

C++23: How lambdas are going to change?

C++23 is coming soon and it will change how lambdas work in 3 different ways. They will not only become simpler in certain circumstances but they will be also aligned more with other features of th...