Skip to content
No results
  • Blog
  • About me
  • From complexity to essence in C++
  • No More Helloworlds — Build a Real C++ App
C++ tips and tricks
  • Blog
  • About me
  • From complexity to essence in C++
  • No More Helloworlds — Build a Real C++ App
C++ tips and tricks
  • Multithreading

Protecting Data vs Protecting Behavior in C++ Concurrency

Mutexes protect data. Actor-like queues protect behavior. Here’s why the second approach often makes correctness easier—and when it’s the wrong choice.

  • Nikolai
  • August 17, 2025
  • Buildsystems

Precompiled headers in CMake? Easy peasy, lemon squeezy

Precompiled headers are a powerful way to reduce compilation time in C++ projects. The best part is that modern CMake supports them out of the box. In this article, I’ll show you how to set up your CMake project to take advantage of precompiled headers.

  • Nikolai
  • August 17, 2025
  • Buildsystems

How Header Dependencies Kill C++ Build Times (and How to Fix It)

Practical techniques: forward declarations, moving implementations to cpp, and PIMPL — explained with real examples.

One major factor that can slow down compilation is headers. When they are too heavy or included in every translation unit, they can significantly increase compilation time.

  • Nikolai
  • August 17, 2025
  • Buildsystems

How to Find and Fix C++ Compile-Time Bottlenecks (with Real Tools)

If your C++ project takes minutes to compile, guessing won’t help.
Learn how to measure real compile-time costs, analyze JSON reports, and find the most expensive headers and templates using the right tools.

  • Nikolai
  • August 16, 2025
Prev
1 2
Copyright © 2026 - WordPress Theme by CreativeThemes