ES6 vs Lua: What are the differences?
ES6 and Lua can be categorized as "Languages" tools.
"ES6 code is shorter than traditional JS" is the top reason why over 98 developers like ES6, while over 19 developers mention "Fast learning curve" as the leading cause for choosing Lua.
Lua is an open source tool with 1.26K GitHub stars and 437 GitHub forks. Here's a link to Lua's open source repository on GitHub.
According to the StackShare community, ES6 has a broader approval, being mentioned in 1440 company stacks & 1659 developers stacks; compared to Lua, which is listed in 55 company stacks and 22 developer stacks.
What is ES6?
What is Lua?
Need advice about which tool to choose?Ask the StackShare community!
Sign up to add, upvote and see more prosMake informed product decisions
What are the cons of using ES6?
What are the cons of using Lua?
Sign up to get full access to all the companiesMake informed product decisions
Sign up to get full access to all the tool integrationsMake informed product decisions
We started using CoffeeScript years ago, so the switch to ES6 is quite natural in our team. ES6 of course advances the JS standard to a level of an advanced language. We are using it today simply because it: 1. helps to keep the code shorter, 2. integrates easily with JSX, 3. helps to deal with immutable using const.
used lua as gameplay glue while at insomniac. one my favorite wins was integrating table support. it took walking the source code in a debugger to figure it out, still remember being at work at 3am when i got it working finally. (no google back then to make such things simple.)
We use Lua as our primary scripting language for third party developers - it's fast, the runtime can be quite small and fits into everywhere it needs to go - from mobile to web.
ES6 brings some sweet features to the language. Our favourites are lambda-expressions, block-scoped consts and lets and Promises.
Lua is used as the programming language for all extensions and the main business logic.