Explain Lua to me. Is it supposed to be better Perl? Where/when to use it?
>>60738214
It's a really simple scripting language. It's good for when you want to make extensions for things.
It is supposed to be an embedded scripting language, so smaller and ofc more readable than Perl. Still I would prefer Tcl, but Lua is more popular.
Bullshit made by brazillian monkeys
>>60738214
Only good for making mods for games like gmod and beamNG, if you want to make money off programming then Lua isn't for you
Lua is easy to implement into other systems, so a lot of games use Lua for scripting. For standalone development it's pretty much useless though.
>>60740373
This. When i used to play transformice you could do mini-games within the game wwith Lua.
>>60739047
>if you want to make money off programming then Lua isn't for you
I beg to differ
>>60740373
>Lua is easy to implement into other systems, so a lot of games use Lua for scripting
Retard asking questions here. Why is it easier to implement? How? Why not use Python?
>>60738214
Lua has website, and I think they host the Lua book as PDF for free there as well.
Better is subjective. Much like a tractor is better than a Ferrari for plowing fields, but not on a race track.
Lua is used normally where full fledged programming language is overkill, and performance is not huge concern.
>>60742143
It's a lightweight programming language.
>>60742143
Very simple language spec and syntax to implement, much like picoscheme. But unlike Lisps (or even Python), slash commands are very easy for normies to use.
Also, Python's whitespace syntax makes it complete and utter bullcrap for using in an in-game command line shell, which is where Lua is usually used.
>>60742143
If you want to embed a programming language, there is a couple of features you may want.
Like multiple vm instances (think multiple tabs, a playground, different privileges, etc.) or restricting the standard library to a safe subset. Python has none of that.
>>60742223
>> But unlike Lisps (or even Python), slash commands are very easy for normies to use.
Because (join channelname) is clearly so much harder to use than /join channelname
>>60738214
it's the mastermind of CloudFlare.