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 2: Create, publish, and integrate dependencies in Lua

Coming soon

Using LuaRocks to not only manage dependencies from different sources, but create new packages, publish rocks, and practices for version management.

Part 3: How to test your Lua

Need to wait a bit longer

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

Will take a while

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

On the horizon

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

Further out

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

Behind the moon

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


← Show all blog posts