Wrote a new article! Part of my Lua series, using Lua with C++. Integration, API usage, common patterns.
https://martin-fieber.de/blog/cpp-and-lua/
#Lua #LuaSeries #Cpp

C++ and Lua
Besides on its own, Lua is also an amazing language to extend applications. This article is an overview of how to do just that. Integrating Lua into a C++ application, state and stack, accessing data, defining new functions and modules, and more.
New article! Part 2 of my 8-part Lua series. This time about creating, building, and publishing packages for Lua: https://martin-fieber.de/blog/create-build-publish-modules-for-lua/
Series overview: https://martin-fieber.de/series/lua/
#LuaSeries #Lua #LuaRocks

Create, build, and publish modules for Lua
Going through creating new packages with LuaRocks, and preparing them for publish into the official LuaRocks registry. On top: how to manage new versions, include documentation, and configure platform support.