|
First, LuaRocks is very nice, and has made some excellent improvements. Also, LuaDist and ZeroBrainStudio are extremely useful. The quality of the little eccosystem that Lua does have deserves a lot of credit for the noticeable improvements that people have made.I'll point out that, unlike _javascript_, a defining feature of Lua is its C-API, which should be thought of as a part of the language. This means that large eccosystems will always be a side show. Very often the eccosystems belong to the application that Lua is embedded into (Wikimedia, ConTeX, Lightroom plugins). Also, developers are likely to disable many features that module writers use: coroutines, access to other modules, etc.The second difference is Lua's focus on embedding, especially where resources are tight. I have not heard much in the way of JS advancing the way that it is embedded into applications, outside of webbrowsers. My understanding is that decisions made early on make _javascript_ more difficult to interact with from C, than Lua, but I have not researched that.