NOTE: This series only covers Zig 0.11.0! Help me create more content like this! https://www.paypal.com/donate/?hosted_button_id=Y6DEFHEEWVBXJ Zig doesn't have interfaces as part of the language itself, but it does provide the low-level building blocks that allow you to create your own type of interface mechanism. In this episode, we see the two most common way of building your own interfaces in Zig: tagged unions and pointer casting. The code: https://codeberg.org/dude_the_builder/zig_in_depth Relevant Links: - https://www.openmymind.net/Zig-Interfaces/ - https://zig.news/kristoff/easy-interfaces-with-zig-0100-2hc5 - https://youtu.be/AHc4x1uXBQE?si=TgQP_mKEo-SwDxkZ