60k Lines of Lua Later: A Game Dev's Reflection
Oleg from Luden.io interviews Ivan Trusov, lead programmer of the Lua-based game Craftomation 101 (~60,000 lines of code built with the Defold engine), about their experience. Ivan discusses Lua's pros and cons, such as the lack of increment operators and classes, and array indices starting from 1. Despite this, he appreciates Lua's simplicity and flexibility, particularly its powerful 'tables', but notes runtime errors can arise in large projects due to its dynamic typing. He compares Lua to Python and C++, and discusses the potential use of static analysis tools and potential Lua upgrades (like Luau). Ultimately, he finds Lua performs well within Defold, but for the next project, he might consider a more strongly typed language to catch errors at compile time.
Read more