Re:Lua, a Misunderstood Language
by junon on Saturday January 16, 2021 @12:49AM
(#25800391)
I was writing a game in Lua using LOVE. I used to really enjoy and appreciate Lua. I've even integrated it into some applications using the C libraries in the past. It's always served me well.
But during the development of the game, things got so unruly that we ended up having to abandon it. The code itself was written as good as it could possibly be given the engine and for Lua, but we had a lot of really poor-performance hacks for the 1-based indexing, for example.
Further, the lack of proper operator overloading prevented us from using certain libraries to bind to it, e.g. Kiwi, for UI layouts.
Not sure I'll ever use Lua as a scripting host in the future. There are a few alternatives I really think could suit the job better.
But during the development of the game, things got so unruly that we ended up having to abandon it. The code itself was written as good as it could possibly be given the engine and for Lua, but we had a lot of really poor-performance hacks for the 1-based indexing, for example.
Further, the lack of proper operator overloading prevented us from using certain libraries to bind to it, e.g. Kiwi, for UI layouts.
Not sure I'll ever use Lua as a scripting host in the future. There are a few alternatives I really think could suit the job better.