Blog
-
C++ Move Semantics: Copy vs Move Explained
C++11 move semantics: rvalue references, std::move, Rule of Five, noexcept move constructors—copy vs move performance and safe usage patterns.
-
C++ std::optional Complete Guide | nullopt· Monadic Ops
std::optional vs nullptr and exceptions: value_or, and_then, transform, or_else, performance, and production error-handling patterns (C++17–C++23).
-
C++ RAII Explained | Why Constructors and Destructors Prevent Leaks
A deep dive into C++ RAII grounded in a real production connection-leak incident, covering exception safety, the C++ Core Guidelines, and composable ownership.
-
C++ Rvalue vs Lvalue: A Practical Complete Guide to Value
Learn C++ lvalues and rvalues: value categories, references, move semantics, and std::move—with examples for overload resolution and fewer unnecessary.
-
C++ RVO and NRVO | Return Value Optimization Complete Guide
RVO vs NRVO: when the compiler elides copies on return, C++17 guaranteed elision for prvalues, NRVO heuristics, and interaction with move semantics.
-
C++ Casting
C++ casting complete guide: static_cast, dynamic_cast, const_cast, reinterpret_cast. Master principles, code examples, and practical applications.
-
C++ Benchmarking | A Complete Guide to Benchmarking
How to benchmark C++ code correctly - avoiding compiler optimizations that skew results, using Google Benchmark, and reading the numbers you get back.
-
C++ std::chrono Guide — duration, time_point, Clocks &
Replace time() with std::chrono: duration, time_point, system_clock, steady_clock, duration_cast, benchmarks, timeouts, and log timestamps.
-
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++ 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.