From: Patrick McLean <chutzpah@gentoo.org>
To: "Robin H. Johnson" <robbat2@gentoo.org>
Cc: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] the state of dev-lang/lua
Date: Tue, 26 Mar 2019 14:30:38 -0700 [thread overview]
Message-ID: <20190326143038.62cdcb03@patrickm> (raw)
In-Reply-To: <robbat2-20190325T032311-646182547Z@orbis-terrarum.net>
On Mon, 25 Mar 2019 04:23:08 +0000
"Robin H. Johnson" <robbat2@gentoo.org> wrote:
> On Sat, Mar 23, 2019 at 04:23:27PM -0500, William Hubbs wrote:
> > Hi all,
> >
> > Soon I will be working on fixing up the state of dev-lang/lua, and
> > there are a couple of things I want to mention.
> >
> > The first thing is liblua as a shared library. If you are using lua
> > internally in a program, upstream strongly recommends not linking it
> > this way; it is supposed to be statically linked into the
> > executable. Because of this, and because of the amount of custom
> > patching we do to maintain liblua as a shared library, I plan to
> > stop creating the shared library.
> Please don't go back to static libraries. Look at the other major
> distros, all of them shipped shared Lua as the primary method.
+1
>
> > I'm a bit undecided still about slotting lua. I'm sure we
> > need subslots so we can force rebuilds when new lua releases enter
> > the tree. However, I'm still unsure whether we need slots. I don't
> > know of many things in the tree that are locked to a specific
> > version of lua (there is only one package based on an irc
> > conversation I had this week).
> > Does anyone have any thoughts?
> Lua needs first class slots, just like Python & Ruby, not just
> subslots. Changing between versions can be a major undertaking.
>
> I think the slots to start with should be:
> - lua5.1
> - lua5.2
> - lua5.3
> - luajit5.1 (this is basically an alternative implementation of
> Lua5.1, much like pypy implements Python2).
I think we are going to have to have slots for the "openresty" lua
fork here as well. Several nginx modules require this version to work
properly (I can provide more details if needed).
prev parent reply other threads:[~2019-03-26 21:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-23 21:23 [gentoo-dev] the state of dev-lang/lua William Hubbs
2019-03-24 4:28 ` Michał Górny
2019-03-24 11:24 ` contact
2019-03-24 18:46 ` William Hubbs
2019-03-24 13:26 ` Andreas K. Huettel
2019-03-24 17:44 ` William Hubbs
2019-03-24 18:47 ` Michał Górny
2019-03-25 4:23 ` Robin H. Johnson
2019-03-25 6:16 ` Michał Górny
2019-03-26 21:30 ` Patrick McLean [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190326143038.62cdcb03@patrickm \
--to=chutzpah@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=robbat2@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox