I've been saying it for years: Lua needs its Ruby on Rails moment
For many, Lua is primarily known as the Roblox language. Pretty impressive that it's the language of use in a game (/set of games) with 380 million monthly active players - currently the most popular in the world.
The evolution of Lua, continued [pdf]
171–175 of 175 posts
Re: The evolution of Lua, continued [pdf]
#172Earlier quoted context omitted.
What specifically do you think would be better? Lua shares many of JS's quirks (like the relationship between arrays and non-array objects, the behavior of undefined for non-existent object properties, metatables are somewhat similar to JS prototypes, etc.) and adds a bunch more (lack of continue statement, 1-indexing, cannot have nil values in tables). I can see people liking or disliking Lua and JS both , depending…
Lua has tail call optimization and js doesn't. For me, this is a dealbreaker for js. Lua also has operational advantages compared to javascript. You can build it from source in at most a few seconds and run it anywhere that has a c compiler. The startup time is negligible even compared to a compiled c program so you can run entire scripts that do very useful things faster than most js engines can print hello world. T…
Re: The evolution of Lua, continued [pdf]
#173Earlier quoted context omitted.
Lua has tail call optimization and js doesn't. For me, this is a dealbreaker for js. Lua also has operational advantages compared to javascript. You can build it from source in at most a few seconds and run it anywhere that has a c compiler. The startup time is negligible even compared to a compiled c program so you can run entire scripts that do very useful things faster than most js engines can print hello world. T…
> Lua also essentially got lexical scoping of local variables correct from the beginning while js blessed us with the nightmare of var. That was not my experience when I was working with lua. Did anything change since? Asked google. Answered : > In Lua, if a variable is assigned a value inside a function without being explicitly declared with the local keyword, it will automatically become a global variable. This is…
Re: The evolution of Lua, continued [pdf]
#174Earlier quoted context omitted.
So you can instantly recognize at a glance that it's Kragen's post! ;) It's a Long Now Foundation thing: slower, deeper, longer. Y10K compliance. https://longnow.org/ideas/long-now-years-five-digit-dates-an... "The present moment used to be the unimaginable future." -Steward Brand "How can we invest in a future we know is structurally incapable of keeping faith with its past? The digital industries must shift from be…
[flagged]