[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Fully Lua YAML library?
- From: "Soni L." <fakedme@...>
- Date: Sun, 12 Mar 2017 00:11:45 -0300
On 11/03/17 11:46 PM, Daurnimator wrote:
On 12 March 2017 at 09:26, Tony Papadimitriou <email@example.com> 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
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
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.