From C Brain Teasers by Anders Schau Knatten, I learned about a compiler warning offered by Clang, called -Wstring-conversion. It emits a warning when a string literal is implicitly converted int...
Use std::span instead of C-style arrays
While reading the awesome book C Brain Teasers by Anders Schau Knatten, I realized it might be worth writing about spans. std::span is a class template that was added to the standard library in ...
(When) performance is not about algorithmic complexity
I’ve been taking part in coding dojos either as a participant or a facilitator for the last more or less 10 years with some smaller gaps around reorganizations. Coding dojos helped me turn around m...
Different aspects of software performance
Though the main topic of this blog is not clean code or Clean Code, we discuss from time to time patterns that will lead to cleaner, more understandable, more maintainable code. Sometimes we even ...
Who does what by how much by Josh Seiden and Jeff Gothelf
The title of Who does what by how much might remind you of Benjamin P. Hardy’s Who Not How. That was one of the reasons I picked it up, but this book is completely different. It dives into the worl...
C Brain Teasers by Anders Schau Knatten
I bought C Brain Teasers at C On Sea where the author also gave a presentation and made a few references to his book. I couldn’t wait to read it. Now that I finally did it, I’d like to share my...
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 ...