Hello, dear reader! I think you have many assumptions about the performance and usage of data structures in C++. This blog post is me, destroying your world.
Read MoreTags: c++, performance, containers
C++ 11 and C++ 14 came with a lot of new features. People tend to focus on lambdas and rvalue references, but today I’d like to talk about constexpr
.
Tags: c++, constexpr, Uncategorized
The topic of commenting source code has been discussed over and over.
Read MoreTags: cpp, c++, commenting, Uncategorized
Many Boost.Filesystem functions and methods (and the pattern also exists in Boost.Asio) will throw a boost::system::error_code in case of error, and sometimes it is not as obvious as you might expect, case in point:
Read MoreTags: boost, c++, error, exceptions, tie, Uncategorized
Precision is costly - As you saw in our previous post getting a timestamp as precise as possible is expensive in precious cycles. We do it only when we really need it because we really care about writing the world fastest database.
Read MoreTags: c++, chrono, libc++, stl, Uncategorized, visual studio
I'm used to read technical inaccuracies when it comes to system programming, and writings about the Nagle algorithm are very high in the list.
Read MoreTags: asio, c++, nagle, networking, Uncategorized