Martin Helmut Fieber

Series: Lua

This series of articles about Lua will cover different aspects of the language and the surrounding ecosystem. Though, not the language itself. There are far better resources for this, like the book Programming in Lua or the LuaUsers tutorial directory.

The series can be read one after the other, as every article builds on the one before, or jumped directly into a topic as pleased. In either case, the companion repository on GitHub will be available to have a look at the whole setup, from the latest commit or on a per article base available as branches.

At the end of this page are also some useful links, gathered throughout the article series.

Part 1: Lua project setup with LuaRocks

Posted on

Showing a VSCode window in dark mode with an open Lua file and the sidebar on the left, showing the contained project files that get built up in the series.

Setting up a project with Lua, running code, installing dependencies, code formatting and static analysis, as well as the editor setup.

Part 3: How to test your Lua

Coming soon

Besides quick iterations on the command line, having a proper setup test suite for Lua will be crucial for any serious project.

Part 4: Debugging and profiling Lua

Need to wait a bit longer

Even with a good test suite, debugging will be necessary sooner or later. This article will go in depth, also showing how to profile a Lua application.

Part 5: CLI applications with Lua

Will take a while

All about writing an own command line application in Lua, parsing arguments, taking user input, and showing a continues state in the terminal.

Part 6: Mono-repo setup with Lua

On the horizon

Growing applications have growing needs. This will cover how to manage those, with multiple projects inside one repository.

Part 7: Extending C++ applications with Lua

Further out

Lua being an "extensible extension language", it is perfect to extend and customize applications. This will go deeper into how in combination with C++.

Part 8: Publishing modules written in C with LuaRocks

Behind the moon

LuaRocks supports not only uploading rocks written in Lua, but C as well. Here I will show how to create a C-Rock, build and publish, and how to manage platform specific code.


← Show all blog posts