How to run C code from Odin

Опубликовано: 17 Июнь 2026
на канале: Karl Zylinski
4,484
259

How to setup Odin bindings for a C library, making it possible to run that C code from your Odin code. This video includes how the C library itself looks and is compiled. This uses what is known as the FFI (Foreign Function Interface). The code in the video: https://github.com/karl-zylinski/odin...

I've written a book about Odin: https://odinbook.com/ ✨

Support me on Patreon   / karl_zylinski   or by becoming a member here on YouTube 💖

Discuss Odin and gamedev on my Discord server:   / discord  

I do Odin tutoring and code consultation, more info here: https://zylinski.se/odin-tutoring/

The Odin Programming Language: https://odin-lang.org/