Tagged articles

RTTI

2 articles · Page 1 of 1
IT Services Circle
IT Services Circle
Jun 19, 2026 · Fundamentals

Understanding C++ Multiple Inheritance: What Goes Into the A and B Parts of a vtable

The article explains how clang can dump the exact vtable layout for a class with multiple inheritance, revealing that a single vtable is actually a virtual table group composed of a primary and secondary table, each containing its own offset_to_top, RTTI entries, function slots and thunks, and shows why new virtual functions appear only in the primary part while the secondary part holds adjusted thunks for overridden base functions.

C#Itanium ABIMultiple Inheritance
0 likes · 21 min read
Understanding C++ Multiple Inheritance: What Goes Into the A and B Parts of a vtable
Top Architect
Top Architect
Jul 10, 2021 · Fundamentals

Reflection and Polymorphism in Java: Concepts, Implementation, and Practical Applications

This article explains Java's reflection and polymorphism mechanisms, detailing their theoretical foundations, runtime type identification (RTTI), method table implementation, practical code examples, common use cases, performance and security drawbacks, and the differences between reflection and polymorphism.

JavaJava APIObject-Oriented Programming
0 likes · 24 min read
Reflection and Polymorphism in Java: Concepts, Implementation, and Practical Applications