DEV Community

Discussion on: My opinion on Lua

Collapse
 
xtofl profile image
xtofl

In the embedded world, Lua is quite popular for its tiny VM footprint (120kB or so).

We had a middleware programmed in C and a number of home gateway applications implemented in Lua on top of it.

There is no such thing as a 'weak' language: the power of Lua is in its simple grammar, its straightforward and explicit error handling mechanism, support for functions as first class citizens (a novelty in the C world!), coroutine support...

Indeed, use it for these strengths.