
Polymorphism and Performance
From Virtual Functions to Data Oriented Design
Exploration of low latency, high performance and code quality for engineers who care about nanoseconds
Live Last read · last published · next check

From Virtual Functions to Data Oriented Design

Quizzing the branch predictor to see how much it knows

Branches, branch prediction and using branchless programming for C++ software performance

Using strong types for zero-overhead dimensional analysis at compile time

Extending strong types with various traits to create a richer C++ type system

The missing C++ feature that makes your code more readable, safer, and just as fast