Lua C API tutorial: using the stack and working with tables
This tutorial covers the most fundamental functions of Lua's C API. This will be useful to anyone: writing a Lua module that needs to run C code, embedding Lua as a scripting language, or creating a framework or game engine using Lua. I don't specifically talk about C++ or Objective-C, but Lua's C API is compatible with those languages as well. I previously made a video covering how to compile a C module, and how Lua loads C modules: • Essentials of writing a Lua module in C This video starts out using a some skeleton C code for an example module. That skeleton code can be found here: https://gist.github.com/tylerneylon/5... In order to compile the skeleton code, you'll need the files lua.h, luaconf.h, and lauxlib.h. Those can be found in any source download of Lua. Check your local Lua version by running "Lua -v" and then download the same-version source from here: http://www.lua.org/ftp/ This video also uses an educational module called apidemo. If you have luarocks, you can install this module by running: sudo luarocks install apidemo This module is open source; here is the repo for it: https://github.com/tylerneylon/lua_ap... If you like this tutorial, please subscribe to find out when more come out. I also live stream tutorials and game coding sessions: https://www.livecoding.tv/gaarlicbread/

Essentials of writing a Lua module in C

Learn Lua in an Hour

Learn to Code in Lua for Playdate Game Dev! Part 1

CppCon 2014: Mike Acton "Data-Oriented Design and C++"

Learn GO Fast: Full Tutorial

CppCon 2017: Andreas Weis “Howling at the Moon: Lua for C++ Programmers”

OpenAI’s ads are failing and it can’t survive without them | Ed Zitron

Embedding Lua in C++ #1

Fil-C: Garbage In, Memory Safety Out! - Filip Pizlo | SSW 2026

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

Falling in LÖVE with Lua

Nobody Explained the Schrödinger Equation Like THIS!

Embedded C Programming Design Patterns | Clean Code | Coding Standards |

C++ Tutorial for Beginners - Learn C++ in 1 Hour

Lua application programming - Hisham Muhammad

Keynote: Benchmarking - It's About Time - Matt Godbolt - C++Now 2026

Tips for C Programming

Lua Tutorial

Publishers Begged Valve to Remove This Steam Feature

