C++20 + Lua = Flexibility
summary
Shows a concrete C++20 + Lua architecture used to replace a C++98 monolith for Blu Wireless connection management, enabling live behavioral edits on trains and race cars without recompiles. Presents tooling and bindings: sol3 for fast, idiomatic C++↔Lua, SWIG type mappings: std::span std::any std::optional std::variant, plus build via CMake and benchmarks that place the Lua C API fastest, sol3 close behind, SWIG slower but multi-language. Demonstrates coroutine integration (Lua stackful vs C++20 stackless), a LuaChat example on GitHub, and real-field success.
AI-written summary · about
chapters (6)
- 0:00Start
- 4:02WHY COMBINE C++ AND LUA?
- 8:30BLU WIRELESS
- 14:42CONNECTION MANAGEMENT
- 17:40MOBILE CONNECTION MANAGER
- 40:22SOL3 EXAMPLE: BUILD & RUN
related talks
01h 09mCombining Modern C++ and Lua
47mRapid Development of Software Solutions with C++ and Lua
01h 01mScripting at the Speed of Thought: Lua and C++ with sol3
33mHowling at the Moon: Lua for C++ Programmers
35mInterfacing Lua and Ruby with C
01h 16mApplied C++20 Coroutines
01h 14mHow to Use C++20 Coroutines for Networking
43mLua in High-Load Telecom Systems
