ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!

Jump to content



Photo

Why isn't lua more popular?


  • Please log in to reply
Why isn't lua more popular?

#1

Restraint
Restraint
    Offline
    1
    Rep
    2
    Likes

    † † † †

Posts: 54
Threads: 2
Joined: Mar 22, 2018
Credits: 0

One year registered
#1

Every forum that I visit the lua section is just dead and doesn't have posts for months. Why is this?


  • 1

#2

FaithHF
FaithHF
    Offline
    9
    Rep
    76
    Likes

    SESH

Posts: 248
Threads: 24
Joined: Dec 04, 2016
Credits: 0

Two years registered
#2

Short answer: Lua is a bad language.

 

Long answer:

Sure, it has its uses. It's incredibly easy to embed as a scripting language into your applications. That's why Gamemaker, RPGMaker, Roblox, WoW, GMod, etc. all use it.

 

That being said, everything that Lua does can be done in Python, Ruby, Perl, or quite frankly any other language pretty easily (aside from its embeddability.)

And those languages will do more or less everything Lua does but faster.

See: 

https://benchmarksga...ua-python3.html

https://benchmarksga...t/lua-node.html

https://benchmarksga...t/lua-yarv.html

https://benchmarksga...astest/lua.html

Of course, Lua wins in some cases. But even Py3 can do better in most tests.

Have a look at the description as well, only certain tests are considered 'fair.' Why do you think that is?

 

It doesn't help that the actual codebase of Lua hasn't gotten a stable release for over two years (latest ones were alpha/pre-alpha releases)

https://www.lua.org/news.html

Almost no activity this year, in any case.


  • 1

#3

xMxxMx
xMxxMx
    Offline
    0
    Rep
    0
    Likes

    New Member

Posts: 22
Threads: 0
Joined: Oct 08, 2019
Credits: 0
#3

Its 2 "small" and  you cant say that its a programming/script language because its 2 small.


  • 0

#4

FaithHF
FaithHF
    Offline
    9
    Rep
    76
    Likes

    SESH

Posts: 248
Threads: 24
Joined: Dec 04, 2016
Credits: 0

Two years registered
#4

Its 2 "small" and  you cant say that its a programming/script language because its 2 small.

Imagine not understanding turing-completeness.

Then again, leechers will say anything to get their post count up.


  • 0

#5

xMxxMx
xMxxMx
    Offline
    0
    Rep
    0
    Likes

    New Member

Posts: 22
Threads: 0
Joined: Oct 08, 2019
Credits: 0
#5

Imagine not understanding turing-completeness.

Then again, leechers will say anything to get their post count up.

xDDD amk


  • 0

#6

capxnes
capxnes
    Offline
    0
    Rep
    0
    Likes

    New Member

Posts: 16
Threads: 6
Joined: Oct 13, 2019
Credits: 0
#6

How can i use Lua to my best advantage


  • 0

#7

FaithHF
FaithHF
    Offline
    9
    Rep
    76
    Likes

    SESH

Posts: 248
Threads: 24
Joined: Dec 04, 2016
Credits: 0

Two years registered
#7

How can i use Lua to my best advantage


You can start with learning the language instead of wasting your time on this forum leeching away.

  • 0

#8

sshekh6
sshekh6
    Offline
    0
    Rep
    0
    Likes

    Member

Posts: 47
Threads: 0
Joined: Jul 13, 2019
Credits: 0
#8

another dead lua thread?


  • 0

#9

itsonlybabyk
itsonlybabyk
    Offline
    0
    Rep
    0
    Likes

    New Member

  • PipPip
Posts: 15
Threads: 0
Joined: Oct 13, 2019
Credits: 0

#9
Lua doesn't have enough of ecosystem to support standalone apps for anything, and being targeted for embedding makes it de facto a 'secondary language'.

It's not popular as a scripting language because there are three others that already have extensive software collections and communities, and each of them has some unique-ish point (e.g. Python and SciPy, Ruby and Ruby on Rails, Perl and the most comprehensive archive of modules ever).

It's not popular for 'standalone' or systems stuff because it was never really meant for that. Here you have C, C++, C#, Java etc. that are well established, can interface directly with the OS, have libraries and whatnot etc. etc.

It's not meant for browsers, as there is really only JavaScript there. Maybe lua-to-js compiler? But then there is a lot of X-to-js 'compilers' out there already.

Lua was meant for embedding - and it's actually being used in this context! You can find it in games, in various tools (e.g. nmap), even in kernels. But embedded lang means it's an asset to something written in something else - it's not the primary

  • 0

#10

KogeD
KogeD
    Offline
    17
    Rep
    73
    Likes

    Developer

Posts: 66
Threads: 20
Joined: Oct 12, 2019
Credits: 0

#10

Its 2 "small" and  you cant say that its a programming/script language because its 2 small.

 

That might be the most stupid answer i've seen.

It's good at certain situations in both programming and scripting - Scripting especially, mainly for it's ability to embeed into any other code easily.


  • 0

?url=https%3A%2F%2Fi.imgur.com%2FFtdSVja

 

Developer with cheap points and monotonous monologues
"Behind every successful Coder there an even more successful decoder to exploit that code."



 Users browsing this thread: