Home
Sandor Dargo's Blog
Cancel

Working in uncertainty?

We live in an era of uncertainty in many different aspects. Think about the wars and other emerging conflicts, the increasingly polarized society, and well, those are not really the topics of this ...

So shall we use static or dynamic linking?

Last week, we were talking about static vs dynamic linking from a binary size point of view. Around the end of the article, I wrote that I omitted other aspects. Now let’s talk briefly about some ...

Binary size: should we use static or dynamic linking?

If at the end of a conference talk, I cannot answer a question and there is nobody to my rescue, I offer to reply later in the form of a blog post. At C++ on Sea, someone asked me about the implic...

Do it right or do the right thing: The Alignment Trap

You might remember one of my trip reports where I mentioned The Alignment Trap. In this post, I’ll dig a bit deeper in preparation for my future talk at Meeting C++ 2024. First, I heard about The ...

The limits of a portfolio job

A few years ago, I took on the role of a security white hat in my previous job. It took 20% of my time, about one day per week. It was up to me to get organized. Sometimes working one full day per ...

Structs and constructors

Today, we are going to talk about when and why structs should have constructors if they should have them at all. We are also going to see once again that generic best practices and best practices t...

Wrapping up our Airbnb host experience

This post is about work, but not about software engineering. It’s about another type of work, we’ve been doing with my wife over the last 5 years. We’ve been hosts on Airbnb. A few years ago, we d...

What is std::ref?

Have you heard about std::ref and std::cref? The helper functions that generate objects of type std::reference_wrapper? The answer is probably yes. In that case, this article is probably not for yo...

Learn C++ by Example by Frances Buontempo

I know Fran from C++ On Sea where she hosted lightning talk nights for the last two years. She recently asked me if I would be interested in reading her book, Learn C++ by Example. It was on my rad...

The rule of 5 and inheritance

Last week, we talked about the rule of five and we discovered what it means for move operations if we only declare a destructor and not the rest of the special member functions. In that case, move ...