Consider Using constexpr Static Function Variables for Performance in C++ -- Daniel Lemire
When programming, we often need constant variables that are used within a single function.
Consider Using constexpr Static Function Variables for Performance in C++
by Daniel Lemire
From the article:
When programming, we often need constant variables that are used within a single function. For example, you may want to look up characters from a table. The following function is efficient:
char table(int idx) {
const char array[] = {'z', 'b', 'k', 'd'};
return array[idx];
}

A classic, over a decade old and worth making the rounds again:
The Model-View-Controller (MVC) is one of the classic architectural patterns from the book "Pattern-Oriented Software Architecture, Volume 1". It addresses interactive applications with a flexible human-machine interface.
In my previous post I showed how to compile {fmt} as a C++20 module with clang. Although taking only two commands, ideally it’s not something you should be doing manually. So in this post, I’ll talk about module support in CMake, everyone’s favorite not a build system.