- Here is a personal programming-related blog.
- Want to know about me?
- To contact me, use one of the methods below.
Virtual Function Costs
Benchmarks of virtual functions in collection.
C++ Type Dispatch
How to Resolve Macro Name Collisions
Three methods to handle macros clash in C++.
C++: How to Access Private Members VALIDLY
C++: Elegant Ways to Map Runtime Values to Types
This post introduces two elegant ways to dispatch based on runtime values.
Algorithms behind Popcount
Three algorithms of popcount.
C++ Virtual Table Tables(VTT)
It’s a detailed explanation about virtual table tables(VTT) in C++.
What does C++ Object Layout Look Like?
Explain the object memory layout of C++ based on Itanium ABI specification.
A Subtle Bug Before C++17
This post will show you a subtle performance bug due to unsupport for over-aligned types before C++17.