lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On 11/03/17 11:46 PM, Daurnimator wrote:
On 12 March 2017 at 09:26, Tony Papadimitriou <> wrote:
Unfortunately, one major downside of Lua (vs Python, for usual example) is
the lack of libraries written in the language itself.

Pretty much everything out there (and it’s not all that much, anyway) seems
to be written in C as if those whose use Lua enjoy writing C more than
writing Lua!
There is, of course, the C speed advantage, but somehow the Python community
– unlike the Lua one – seems  to favor libraries written in Python, and as a
result they have created an enormous ‘ecosystem’ for pretty much anything –
an achievement which in itself is hard to beat.
(We shouldn’t overlook that in today’s world, a language’s popularity and
longevity is largely proportional to the amount of publically available
source code written in it.)

I can only hope the Lua community would start doing the same at some point –
but I think, unfortunately, both I and Lua will die hoping.

Why would you want all lua libraries to be written in lua?
Leveraging existing libraries, whether they be written in C, fortran,
rust or whatever is a great choice.
Using developer time to reimplement things in another language "just
because" is a huge waste of time (and money).

I want most Lua libraries to be written in Lua because I use sandboxed environments a lot. Having the libraries written in Lua seems to help with that.

Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.