Explore an innovative approach to combining C++20 with Lua in this ACCU 2021 conference talk. Learn how to leverage the performance-critical features of C++ while utilizing Lua for flexible behavioral aspects that can be modified on-the-fly without recompilation. Discover the technical details for implementing this architecture, including using SWIG to generate bindings and type mappings between C++20 and Lua, integrating Lua coroutines with C++20 coroutines, and incorporating SWIG, Lua, and C++20 into a CMake build flow. Gain insights from a real-world commercial deployment and access a practical C++20/Lua application called 'LuaChat' for hands-on experimentation. Benefit from the speaker's extensive experience in software development across various industries and his academic background in Computer Science.
Overview
Syllabus
C++20 + Lua = Flexibility - James Pascoe [ ACCU 2021 ]
Taught by
ACCU Conference