Because appealing to the lowest common denominator is always a good idea. And you will make epic $$$! Sign me up!
And where will this money come from? If I code a Lua engine, will it just start raining down over my house? Will random people mail me checks?
In case you haven't noticed, ScriptDev2 has it's own forum and it not discussed here. I would advise you to do the same if you want to have a serious project.
The only problem I have with this is "unlimited functions." Any programming language can (theoretically) have "unlimited functions."
Ooooh, an actual programming language. Scary.
Also, you try reading some serious Lua code, and then tell me it's "soo much simpler". Hint: if you don't know what meta-tables are, you aren't going to get very far with your brain intact.
I would argue against the Lua debugging part. C++ debuggers, such as the one included with Visual Studio or GDB, are much more powerful than what Lua has. Being able to step-through a program line by line until you find the problem I have yet to see on Lua.
It may have basic programming concepts, but the loose nature of the language would make it harder for a beginner, I'd say. It's easier to learn in a more rigid environment like C or Java that enforces syntax rules and variable typing than something like Lua.
I would also argue against the large number of "experts" you claim Lua has. How many of these people are actually experts? Would you consider yourself an expert? If so, when's the last time you used associative arrays or object tables?
Now, for balance, I present:
Lua Cons:
* 1 - Lua is slow. When you have to make thousands of script calls per second to run your server's AI code, suddenly this will start mattering. * 2 - Lua is complex, convoluted, and confusing. Read up on meta-tables. Then pick up the pieces of your head that resulted from the explosion. * 3 - Everything is a table. See above. * 4 - All tables are on stacks, and the entire API consists of functions to access the stacks. See above. * 5 - Garbage collection means no memory leaks, right? Right...?! * 6 - It is a structured language pretending to be an object-oriented one. Therefore, objects perform even slower than the rest, and when you are putting it on to of a C++ project, everything is an object (table) * 7 - The dynamic typing and loose syntax make it a poor language to learn programming with. * 8 - Little actual support. If one person makes a Lua engine for mangos, then about one person will actually be able to support it (i.e. fix bugs, add new features, etc.) Most of the users will only be using it because they can't code in C++, and will be of little actual help. Now, please stop talking about Lua. If you are serious about it, start a project, open a repo, and start up a forum. Or, god forbid, actually learn C++ and code it yourself. Believe it or not, people aren't born with the mark of the programmer. Anyone can learn the language and be successful.
Can someone please close this? There are enough "gief lua" threads on here already. We don't need another one.