Blog
-
C++ std::pmr Complete Guide: Boost Performance 10x with
Master C++ std::pmr to achieve 10x memory allocation performance.
-
C++ SIMD and Parallelism | std::execution and Intrinsics Guide
A guide to C++ SIMD and parallelism with std::execution and intrinsics — for when a loop is slow because the compiler cannot auto-vectorize it. Covers the theory, code, and practical tips grounded in real-world problems.
-
C++ Package Management: vcpkg & Conan — Escaping External
C++ package management with vcpkg and Conan: dependency hell, Manifest mode, CMake, triplets, Conan profiles, common errors, and production patterns.
-
C++ DevContainer & Docker Guide — Standardize Builds,
C++ Docker in practice: reproducible toolchains, multi-stage builds, vcpkg/Conan, Dev Containers, Compose, ccache/Ninja, and debugging with GDB.
-
Static Analysis in C++: Enforce Quality with Clang-Tidy &
Integrate clang-tidy (.clang-tidy, compile_commands) and Cppcheck into editors and CI. Fix use-after-move, leaks, and style drift before runtime.
-
C++ Runtime Checking: AddressSanitizer and ThreadSanitizer
Catch C++ memory bugs and data races with AddressSanitizer and ThreadSanitizer.
-
C++ [[nodiscard]] Guide: Ignore Return Values Safely
Complete guide to C++ [[nodiscard]]: stop ignored return values, error codes, RAII guards, and C++20 reason strings.
-
C++ Fuzz Testing | Finding Crashes with Unexpected Input
A hands-on guide to C++ fuzz testing with libFuzzer and AFL, covering coverage-guided mutation, sanitizer integration, and building an effective seed corpus.
-
C++ Performance Optimization
C++ performance: remove copies, tune allocations, cache-friendly layouts, compiler flags (-O2, LTO), SIMD sketches, and profiling with gprof, Callgrind,...
-
gRPC and Protocol Buffers in C++: From .proto to Production
Build C++ gRPC microservices with Protocol Buffers: .proto definition, protoc codegen, sync server and client, streaming modes, TLS, error handling.