Skip to content
0:00 / 0:00

#zig#polymorphism#vtables

Runtime polymorphism: why, how? - Alex Naskos

Zig SHOWTIME

17K subscribers • 40 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Alex Naskos

Intermediate. Assumes working knowledge.

10K views5 years ago1 recommendation

Programming languagesSystems programmingZigPerformance and optimizationDesign patterns

Alex Naskos explains different ways to implement runtime polymorphism and interfaces in Zig, including vtables.

From Zig SHOWTIME #17 Subscribe to the Zig SHOWTIME Newsletter! zig.show Title Talk Interview

Why it's here

1 person recommends this

What people say. Recommended for understanding how interfaces and runtime polymorphism work behind the scenes in Zig.

u/kristoff-itin r/ProgrammingLanguages • Recommends

On “Easy Interfaces with Zig 0.10.0”

In that context "how the system works behind the scenes" is with regards to how interfaces themselves are implemented. There are multiple ways you can implement runtime polymorphism and in Zig it can matter which you pick in some contexts. In the article I linked to this talk that shows many of the different ways interfaces can work: link to this video

u/kristoff-itin r/ProgrammingLanguages • Recommends

On “Easy Interfaces with Zig 0.10.0”

Literally linked at the top of the article: link to this video If you want vtables in Zig, you can have vtables.