4 ms·
>I always wonder "what happened to Lua" It became the dominant embedded scripting language.. and still is. Lua as a primary language was never popular, becaus
by copx 11y ago
>I always wonder "what happened to Lua"
It became the dominant embedded scripting language.. and still is.
Lua as a primary language was never popular, because it is not designed for that.
Lua as a primary language only makes sense for game development. Because the two other mature languages in its category (Python and Ruby) are horrible for that [1].. but better for everything else [2]. Unsurprisingly Lua is widely used in casual/mobile game development (e.g. Corona [3])
[1] Lua is more memory efficient and cache friendly and more importantly has an incremental GC + it is easy to avoid allocations in Lua.
[2] Both languages ship with much more functionality built-in + tons of libraries for everything (true for Python in particular)
[3] https://coronalabs.com/ https://coronalabs.com/