Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's the language used in my digital signage service for the Raspberry Pi (see https://info-beamer.com & https://info-beamer.com/doc/info-beamer). The main reason to choose Lua back when I started was the there were no serious alternatives for:

* Easy embedding. Compared to Python and ruby which I looked at back then, Lua is so much simpler.

* Fairly easy to learn for users. After all, the complete syntax is one page long: https://www.lua.org/manual/5.1/manual.html#8

* Quite expressive with coroutines, tail calls, metatables, ...

* Trivially allows multiple interpreter instances within the same program.

* More than fast enough, especially once LuaJIT was released.



That's really neat.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: