Articles Archive
-
Published in 2023-10-20
Game Development with Lua
REAL-WORLD EXAMPLES OF HOW TO EMBED LUA PART 2
A small game was created in SDL 2 and C to demonstrate more Lua use cases. Let's expose complex structures and learn how to use metatables to givem them custom behavior like arithmetic operations in Lua. -
Published in 2023-02-26
More Advanced Examples of Embedding Lua in C
Real-World Examples of How to Embed Lua part 1
After writing a time ago my article about Embedding Lua in C I decided to follow up with a more real-world example than exposing simple functions and variables. This is the first part of a series of articles where I write an entire application that is closest to real-world development. -
Published in 2019-02-02
Embedding Lua in C
Extending your tools and apps with Lua scripts
Allowing users to extend apps with scripts it is an amazing feature. There are many languages for this purpose, but Lua is the choice today, it is powerful and easy to embed. Lua is an important tool for many industries, it has been used inside Game Engines, Databases like Redis, and HTTP servers like Nginx, powering users to extend their features.