How I built a scriptable Lua extension engine inside my C++ activity tracker (and almost lost my mind to deadlocks)

· Dev.to