Forum
Off Topic Why is Lua not a successful language?Why is Lua not a successful language?
5 replies 1
Also it's "Lua" (big L, small ua, because it's Portuguese for moon and NOT an abbreviation)
How do you define a successful language? Lua is used in tons of apps and games.
Just take a look at this...
https://en.wikipedia.org/wiki/List_of_applications_using_Lua
...and also this:
https://en.wikipedia.org/wiki/Category:Lua-scripted_video_games
It's not only a lot: There are also a lot of big and well known titles in these lists. With LÖVE there's even a game engine which entirely relies on Lua as language.
So in my opinion Lua is quite popular and "successful".
Of course it can't compete with the biggest languages like C(++), C# and Java. That's because it's a scripting language (slower) and I guess because there are less frameworks and less good IDEs for it. Moreover Lua itself does not have classic inheritance/OOP. It's possible with meta table stuff but that's a different approach and people are not used to it which leads to less acceptance.
Also it can't compete with JavaScript because JavaScript runs in every modern browser out of the box and is extremely optimized for that purpose.
I assume that it is one of the most popular scripting languages for games though (if not the most popular one). That's probably because it is easy to use/implement and because the Lua runtime code which needs to be included in projects is tiny, lightweight and doesn't require much memory.
edited 1×, last 10.03.19 12:38:41 pm
The only reason why Minecraft is using Java for modding is because it was originally developed in Java. So all the Java stuff needed to be loaded anyway and simply using Java was the easiest approach.
Also I wouldn't say that Java is easier than Lua.
It depends on which language you learned first and used more.
Guess why all these games are using Lua instead of Java...
Quote
Im gonna ask you , why don't you put a java language like minecraft bukkit plugins , it's also easier than lua you know, takes less time.
Java was meant to be a language for all purposes. Lua was intended to be embedded.
You don't decide which language to use by simply saying XXX is using YYY.
script favor has written
Lua and Java are basically equal in terms of being easy. ... it's also easier than lua you know, takes les s time.
1