Blog
-
Debugging Memory Leaks Guide | Profiler· Heap Snapshots
Find and fix memory leaks in Node.js, Python, and Java.
-
Redis Complete Guide | Event Loop· Internals
Deep dive into Redis: single-threaded event loop, SDS and skiplist encodings, RDB vs AOF persistence, PSYNC replication backlog, Sentinel, Cluster.
-
C++ const Error — Complete Guide
Fix C++ "passing const as non-const" compile errors: const-correctness rules, common causes, and how to design functions that accept const references.
-
Go in 2 Weeks #05
Go error handling vs C++ try/catch: multiple returns, if err != nil, defer, fmt.Errorf %w, errors.Is/As, panic/recover. Practical examples for production.
-
Go Interfaces Complete Guide — Polymorphism Without virtual,
Go interfaces vs C++ virtuals: implicit satisfaction, duck typing, io.Reader/Writer, any, type assertions, and small-interface design for production.
-
Go in 2 Weeks #01 — Complete Guide
Go tutorial for C++ devs: install Go, := and var, for/range, garbage collection, go fmt, packages, and modules—side by side with C++.
-
Go in 2 Weeks #02 — Complete Guide
Go pointers, slices, and maps for C++ developers: safe *T, len/cap/append, map lookup with ok, and how slices differ from std::vector.
-
Go in 2 Weeks #03 — Complete Guide
No class keyword in Go: structs, methods, pointer vs value receivers, embedding, and NewXxx constructors compared to C++.
-
Go in 2 Weeks #04 — Complete Guide
Go interfaces vs C++ virtual functions: implicit satisfaction, duck typing, io.Reader, io.Writer, small interfaces, any, type assertions, and type.
-
Go in 2 Weeks #06 — Complete Guide
Go goroutines vs C++ threads: lightweight stacks, channels, buffered vs unbuffered, select, WaitGroup, worker pools, pipelines.