Blog
-
C++ Lock-Free Programming: CAS, ABA, Memory Order,
Complete guide to lock-free programming in C++: replace mutex bottlenecks with atomics and lock-free algorithms.
-
C++ std::filesystem Complete Guide | Cross-Platform Path
Master C++ std::filesystem: fix Windows vs POSIX path bugs with path operations, directory iteration (recursive), file copy/move/delete, permissions.
-
C++ Clean Code Basics: Express Intent with const, noexcept,
Use const correctness, noexcept, and [[nodiscard]] in C++ APIs so interfaces state what they guarantee.
-
C++ Interface Design and PIMPL: Cut Compile Dependencies
Use the PIMPL idiom to hide implementation details, shrink rebuild graphs, and keep a stable binary layout for shared libraries and plugins.
-
C++ std::pmr Complete Guide: Boost Performance 10x with
Master C++ std::pmr to achieve 10x memory allocation performance.
-
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++ Observability: Prometheus and Grafana for Server
Expose metrics from C++ servers, let Prometheus scrape them, and visualize with Grafana.
-
C++ and Rust Interoperability: FFI, C ABI, bindgen, cxx,
Master C++ and Rust interop: FFI fundamentals, C ABI bridge, bindgen for C++ bindings, cxx for safe interop, memory safety patterns, ownership transfer,...
-
C++ Segmentation Fault & Core Dump: GDB/LLDB Debugging
Enable core dumps, analyze crashes with GDB or LLDB, and catch use-after-free with AddressSanitizer.
-
CMake Link Errors: LNK2019, undefined reference, and Fixes
Diagnosing CMake link errors like LNK2019 and undefined reference - common causes (missing target_link_libraries, ODR violations, ABI mismatches) and how to fix each one.