3 ms·
Many applications (e.g. Redis) are designed to work with Lua scripts out of the box. If you label yourself a "javascript" or "lua" programmer, that is a bigger
by fweespeech 12y ago
Many applications (e.g. Redis) are designed to work with Lua scripts out of the box. If you label yourself a "javascript" or "lua" programmer, that is a bigger problem imo than which scripting language you need to use.
- astrodust 12y agoI'm not going after labels here, I think programmers should be able to tackle new languages, however libraries don't magically switch from one language to another. If you've got a lot of JavaScript code, or you want to use NPM, you can't use Lua.
- fweespeech 12y ago> I'm not going after labels here, I think programmers should be able to tackle new languages, however libraries don't magically switch from one language to another. What does javascript have in NPM that is so awesome it isn't easily replicated and/or already existing in a lua implementation? I honestly don't know a single NPM library I'd use that I don't know the Lua equivalent or Python equivalent or PHP equivalent. :/ > If you've got a lot of JavaScript code, or you want to use NPM, you can't use Lua. Well, yes, if you have an existing Node.js codebase you want to port its great. However, you made the original claim that: "Lua has nowhere near the traction or support." Lua is in Postgres, Redis, Nginx [already supported!] You've got Cassandra lua implementations that try to boilerplate an API for you: https://github.com/jbochi/lua-resty-cassandra https://github.com/jbochi/lua-resty-cassandra You've got a NPM style installer in the form of luarocks: https://rocks.moonscript.org/ https://rocks.moonscript.org/ I really just don't understand the claim that Lua has "nowhere near the transaction or support". Is there even one cache [e.g. Redis] that supports Javascript? I can't name any.
- astrodust 12y ago> I honestly don't know a single NPM library I'd use that I don't know the Lua equivalent or Python equivalent or PHP equivalent. :/ This requires learning the new library, porting code you've already written over to the new library, testing the new code using a totally different test framework. Non-trivial. Lua has a lot of support, don't get me wrong, but it has way, way less support than JavaScript. To say otherwise is seriously dishonest. I am not in any way equating "support" with "superior".