Blog
-
C++ DB Engine Fundamentals: Storage Engine, Query Parser,
How a database engine fits together: storage engine, SQL parser, executor, and transactions. B-Tree indexes, paging, WAL, ACID, and minimal C++ examples.
-
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.
-
Asio Deadlock Debugging: Async Callbacks, Locks, and Strands
Hidden deadlocks in Boost.Asio: mutex + condition_variable with async completion, lock ordering, and fixes with strands, std::lock, and thread dumps.
-
C++ Query Optimization Guide | Index Selection· Plans
C++ query optimization: index selection, EXPLAIN plans, statistics, cost models, and production patterns [#49-3].
-
C++ Chat Server Architecture: Boost.Asio, Room Management,
Build production C++ chat servers: Boost.Asio async I/O, acceptor-worker pattern, room management, message routing, connection pooling, heartbeat, grace...
-
C++ REST API Server Complete Guide | Routing· Middleware
Build Express-style REST API servers in C++: routing with path parameters, middleware chain (logging, CORS, auth), JSON request/response, JWT.
-
C++ Game Engine Basics: ECS, Rendering, Physics, Input, Lua
Build a 2D game engine from scratch: ECS architecture, SDL rendering with z-index sorting, AABB physics with collision resolution, input system.
-
C++ Production Deployment: Docker, systemd, Kubernetes,
Complete production deployment guide: Multi-stage Docker images, systemd units, Kubernetes probes and rolling updates, CI/CD pipelines, Prometheus metri...
-
C++ Message Queues: RabbitMQ and Kafka Integration Complete
Complete message queue guide: Decouple services with AMQP and Kafka, producers and consumers, serialization strategies, backpressure handling.