Tag

thunk

0 views collected around this technical thread.

IT Services Circle
IT Services Circle
Feb 9, 2023 · Fundamentals

Understanding C++ Polymorphism: Vtable Layout, Multiple Inheritance, and Thunks

This article explains how C++ implements runtime polymorphism through virtual function tables, analyzes the memory layout of single‑ and multiple‑inheritance classes using gcc and gdb, and clarifies the role of thunks and offset adjustments for correct virtual calls.

C++GDBMultiple Inheritance
0 likes · 20 min read
Understanding C++ Polymorphism: Vtable Layout, Multiple Inheritance, and Thunks
Sohu Tech Products
Sohu Tech Products
Jan 15, 2020 · Mobile Development

Understanding Swift Thunk Functions and SIL: Why UITableViewDelegate Methods May Not Be Invoked

This article examines a real iOS project case where a UITableView delegate method does not fire, explores Swift Intermediate Language (SIL) and thunk functions, explains the role of @objc and dynamic dispatch, and demonstrates how generic base classes affect Objective‑C visibility of delegate methods.

Message DispatchObjective-CSIL
0 likes · 16 min read
Understanding Swift Thunk Functions and SIL: Why UITableViewDelegate Methods May Not Be Invoked