DEV Community

Discussion on: Is Lua Doomed?

Collapse
gwutama profile image
Galuh Utama • Edited on

Lua was never meant to be a general purpose language or an alternative to existing scripting languages. It was designed to be embedded into applications where the complexity and most of the logic are hidden.

There’s really not so many contender in that area. Embedding python in an application is such a hassle, and libpython itself is huge. There’s AngelScript and ChaiScript which are easy to embed but are specifically for C++ only.

Embedding lua is simpler and the library can easily be linked statically. It doesn’t have dependencies. It’s really small. And the language is easy enough that a seasoned programmer can start code in it (to extend the functionality of an application) within a day.