Ziji's Homepage
Ziji's Homepage
Home
Publication
Blog Post
Project
Light
Dark
Automatic
C++
Understanding Performance of C++ from the Implementation Perspective (2) : STL Containers
A deep dive into how STL containers are implemented and what that means for performance — vector, the tree-backed
set
/
map
, hash containers, and when to reach for each.
Ziji Shi
Last updated on Apr 19, 2026
5 min read
C++
Understanding C++ Performance (1) : Stack and Heap
Stack vs heap in C++ — why the stack is faster, how each is managed by the OS, and what changes when threads and processes enter the picture.
Last updated on Apr 19, 2026
4 min read
C++
Diving Deep into Data Alignment
Why does the order of fields in a C++ struct change its size? A walkthrough of data alignment, padding, and how to reorder members to shrink your structs.
Last updated on Apr 19, 2026
8 min read
C++
Function Pointers, Lambdas, and std::function in Modern C++
Function pointers and lambdas are two ways to treat functions as values. This post explains both, how they relate, and when to use each.
Ziji Shi
Last updated on Apr 19, 2026
6 min read
C++
Cite
×