One thread, one epoll instance, ten thousand connections. No thread pool required.
~/ 14 posts
Your CPU reorders your code. Atomics are how you tell it to stop.
A variant says "I am exactly one of these types, and you must handle every possibility." The compiler enforces it.
Before concepts, template errors were a wall of text. Now they're a sentence.
The best code is code that runs before your program starts. constexpr makes the compiler your runtime.
A fold expression is a loop that runs at compile time, generating exactly the code you need and nothing more.
A blog engine that just works. Clone, make, run — your blog is live in 30 seconds with themes, RSS, SEO, and hot reload built in.
Templates aren't generics. They're a code generation system disguised as a type system feature.
Every allocation is a conversation with the operating system. string_view lets you avoid the conversation entirely.
C++ doesn't have a garbage collector. It has something better — a type system that makes ownership explicit.
Lambdas gave C++ something it never had — the ability to define behavior right where you need it.
C++17 and C++20 made the language read like it was designed this century. Here's the syntax that changed everything.
The standard library gives you the data structures. Your job is to pick the right one.
Every C++ program is a conversation between values and types. Learn the language they speak.