Core C++ 2019 :: Inbal Levi :: Virtual Tables OR The Overhead Of Magic

Опубликовано: 22 Февраль 2025
на канале: CoreCppIL
1,129
19

C++ provides a lot of wonderful tools, but at its heart stands the inheritance mechanism and the engine that drives it - the Virtual Table.
We will talk about the virtual table - when and how it works, and of course, when it does NOT work. We will review the problems that may arise from using it wrongly.
And finally, we will try to provide tools for estimating the performance cost and possible solutions to minimize it.
--- --- --- --- --- ---
Presented at Core C++ 2019 conferences, slides can be found at http://bit.ly/cpp19p4.