Is this a meme?
Probably
I personally dislike the syntax. I like Javascript more.
But Lua is a full, proper language. For example, waifu2x was written in it, using the torch toolkit.
In terms of it being used for game dev, yes.
Problem is though theres a distinct lack of easy to embed scripting languages, so shit like lua gets used. You could of course invent your own but then its no fun when you need to fix problems with it.
I like it. It's my second go-to scripting language (when scheme isn't an option). It's pretty fucking fast and the way everything is built from tables is neat. Maybe check out moonscript too.
>>54319482
>>54319757
Can't use awesomewm without knowing at least some Lua...
I'm having a hard time learning more advanced stuff like embedding into c++ and best practices.
>>54319806
Well use xmonad then
This thread is a meme.
>>54319550
>Problem is though theres a distinct lack of easy to embed scripting languages
It's not even that, there are zillions out there, just take a look at this inaccurate, incomplete list: http://freegamedev.net/wiki/Scripting#Scripting_languages
Devs are just lazy asswhipes and take the first they find on Gewgle.
Lua doesnt has "switch" or a method to copy table.
but it has a lot of implementations.
lua-users.org/wiki/LuaImplementations
>>54320438
Key phrase is "easy to embed". Also on top of that "does anyone know how this shit works if there's a problem". Also some random guys toy language they made in CS101 doesn't count.
God, I used to use LUA hen working on Roblox and Gmod 9 back when I was like 14?
I'm suprised it's still a thing. What is it even currently used for?
>>54320830
General purpose scripting language. Lots of people use it as an embedded language still. Being able to easily call C code is nice.
>>54319953
>Enjoy your fullscreen games, and videos
oh.
wait
no EWMH support
>>54320814
Those aren't some random CS101 toy languages.
Those are easy to embed languages and half of them were designed for games.
Ironically, Lua is neither.
You have a point on the support side, but Angelscript is well-supported and so is mruby.
>>54319482
it's a good scripting language
What's wrong with it?
>>54321075
At first glance the way it does classes is weird...until you realize that it's tables all the way down and read about how they work.