Performance Optimization: Replacing Virtual Dispatch with Static Polymorphism in C++
Ever wondered why your “clean” polymorphic design underperforms in benchmarks? Virtual dispatch enables polymorphism, but it comes with hidden …
Read the full articleYou might also wanna read
Silent foe or quiet ally: Brief guide to alignment in C++. Part 3 -- Elizaveta Zhegalova
We continue our deep dive into memory mechanics. If you are just joining us, I recommend reviewing the foundations first. The first part cov
OOP Explained: Why State, Behavior, and Invariants Matter More Than Buzzwords
A technical article on DEV Community argues that most popular explanations of object-oriented programming focus on naming four properties —
Why Virtual Threads Are a Better Abstraction Than Async/Await for Concurrency
Musings about async await again and why I think virtual threads
Evolving a Translation System with Reflection in C++
A nice example of C++26 reflection moving from theory into something practical. Evolving a Translation System with Reflection in C++ By GitH
Building Faster Parsers Through Data-Oriented Design: Flat Arrays Over Pointer Trees
How designing the data structure first (flat arrays of indices instead of a pointer tree) makes a parser fast and collapses memory layout, a
Understanding CPU Branch Prediction and Branchless Programming in C++
Stop letting CPU mispredictions slow down your code. This guide covers C++ branch prediction internals, branchless programming patterns, and
towardsdev.com·24d ago
Comments
Sign in to join the conversation.
No comments yet. Be the first.