Tagged articles
9 articles
Page 1 of 1
IT Services Circle
IT Services Circle
Mar 5, 2026 · Fundamentals

Simulating OOP Polymorphism in C with Function Pointers and Vtables

The article walks through a C programmer's journey from hard‑coded if‑else shape handling to embedding function pointers in structs, introducing shared function tables, automatic initialization, memory savings, inheritance via table overrides, and finally showing how C++ virtual functions automate the same mechanism.

C ProgrammingInheritancePolymorphism
0 likes · 10 min read
Simulating OOP Polymorphism in C with Function Pointers and Vtables
php Courses
php Courses
Aug 18, 2025 · Fundamentals

Mastering Polymorphism in C++: Virtual Functions, Override, and Final

This article explains C++ polymorphism, covering virtual functions, the override and final keywords, pure virtual functions, virtual destructors, vtable implementation, performance considerations, modern C++ improvements, and practical examples with code snippets.

Abstract ClassOverridePolymorphism
0 likes · 9 min read
Mastering Polymorphism in C++: Virtual Functions, Override, and Final
Deepin Linux
Deepin Linux
Dec 20, 2023 · Fundamentals

C++ Interview Questions: Polymorphism, Vtables, Memory Alignment, STL Containers, and Multithreading Locks

This article presents a comprehensive C++ interview guide covering dynamic polymorphism, vtable mechanics, static vs virtual functions, memory alignment benefits, iterator invalidation in vector and map, erase‑remove idiom, map implementation details, and common synchronization primitives used in multithreaded programming.

C++STLVTable
0 likes · 12 min read
C++ Interview Questions: Polymorphism, Vtables, Memory Alignment, STL Containers, and Multithreading Locks
ByteFE
ByteFE
Nov 22, 2023 · Frontend Development

Introducing Multi‑Dimensional (Pivot) Tables with VTable: Concepts, Configuration, and Business Scenarios

This article explains the fundamentals of multi‑dimensional (pivot) tables, describes core BI concepts such as dimensions, hierarchies, members and indicators, and shows how VTable maps these concepts to configuration options, data analysis features, custom dimension trees, and real‑world use cases.

ConfigurationData visualizationVTable
0 likes · 11 min read
Introducing Multi‑Dimensional (Pivot) Tables with VTable: Concepts, Configuration, and Business Scenarios
ByteFE
ByteFE
Oct 23, 2023 · Frontend Development

Master High‑Performance Data Tables with VTable: A Quick‑Start Guide

This guide introduces VTable, an open‑source high‑performance table component built on VRender, covering installation via npm or CDN, basic usage, table types, cell rendering options, interaction features, theming, and performance characteristics for modern web applications.

Data TableJavaScriptUI Component
0 likes · 9 min read
Master High‑Performance Data Tables with VTable: A Quick‑Start Guide
58 Tech
58 Tech
May 19, 2021 · Mobile Development

Hooking Swift Functions by Modifying the Virtual Table (VTable)

This article explains a novel Swift hooking technique that modifies the virtual function table (VTable) to replace method implementations, detailing Swift's runtime structures such as TypeContext, Metadata, OverrideTable, and providing concrete ARM64 assembly and Swift code examples.

HookingRuntimeSwift
0 likes · 19 min read
Hooking Swift Functions by Modifying the Virtual Table (VTable)
58 Tech
58 Tech
Jan 13, 2021 · Fundamentals

Exploring Swift Binary Structure and Dynamic Method Invocation in Mach-O

This article examines Swift's binary representation in Mach-O files, compares it with Objective‑C storage, demonstrates runtime dynamic method calls, and analyzes class metadata, VTable construction, and related flags to reveal how Swift functions are located and invoked at runtime.

Dynamic InvocationMach-ORuntime
0 likes · 16 min read
Exploring Swift Binary Structure and Dynamic Method Invocation in Mach-O
Tech Musings
Tech Musings
Mar 27, 2020 · Fundamentals

How Virtual Functions Expand C++ Class Size and Shape Memory Layout

This article explains how C++ compilers implement virtual functions using a hidden vptr and virtual table, showing how class size grows from 1 to 8 bytes, detailing memory layouts for single, multiple, and diamond inheritance, and providing commands to dump vtable and layout information.

InheritanceVTablec++
0 likes · 14 min read
How Virtual Functions Expand C++ Class Size and Shape Memory Layout