Super simple example of adding Lua to C++

Dale Thomas
3 min readMar 12, 2022

A minimal example of adding scripting to your C++ project

Photo by Max Duzij on Unsplash

This article was born out of two particular frustrations I have with learning new things. First, I need to start with a very rough, overall, global idea of what it’s all about, before I learn the details. Second, I want to learn from concrete examples, rather than abstract musings.

--

--

Dale Thomas

Scifi writer, roboticist, and game developer, 2x Quora Top Writer. I write about writing speculative fiction, computer graphics, AI, evolution, and programming.