Gentoo Archives: gentoo-dev

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: lua upgrade plan
Date: Sun, 02 Jul 2017 03:56:19
Message-Id: pan$c3699$1e4a2653$746c0ce9$2cddf9d1@cox.net
In Reply to: Re: [gentoo-dev] lua upgrade plan by William Hubbs
1 William Hubbs posted on Sat, 01 Jul 2017 11:53:59 -0500 as excerpted:
2
3 > See this article for why using liblua as a shared library is not
4 > recommended.
5 >
6 > http://article.gmane.org/gmane.comp.lang.lua.general/18519
7 >
8 > Yes, it talks about the interpretor, but it goes further and really
9 > discourages even making a shared library available.
10
11 PMFJI, but...
12
13 That reply is from 2005 and is apparently specific to (32-bit) x86's
14 extreme shortage of general purpose registers. Back then it made sense
15 as 32-bit x86 was the dominant arch, both for gentoo, and (apparently)
16 for that lua discussion (which was in the debian context).
17
18 That x86 general lack of registers was one of the big pressures behind
19 the switch to amd64, before system memory sizes increased to 4GB+, and
20 applies far less to today's dominant amd64, with x86 now legacy/embedded.
21
22 Now it may well be that lua performance remains register sensitive even
23 with the increased number of registers available in amd64 and other
24 modern archs, but quoting an 11+-year-old email written in the extremely
25 register-restricted 32-bit x86 context does little to argue that point.
26
27 So... got any equivalent links to posts with more modern figures?
28
29
30 All that said, in FLOSS, he who volunteers, makes the rules, and
31 particularly given the upstream opposition meaning more gentoo-level work
32 required, if there's nobody willing to support lua in gentoo with dynamic
33 linking...
34
35 ... people unable or unwilling to volunteer to support their preferred
36 alternative get to live with one they don't like, whether that be
37 accepting what their existing distro provides even if it's not optimal,
38 switching to another, or supporting their own patches or builds apart
39 from gentoo.
40
41 At least gentoo makes the latter case relatively easy compared to some
42 distros. I did it with kde twice, when gentoo/kde wasn't supporting
43 builds without semantic-desktop. =:^)
44
45 And in this case it appears there's even someone already doing it and
46 making their work public via the lua overlay. =:^)
47
48 --
49 Duncan - List replies preferred. No HTML msgs.
50 "Every nonfree program has a lord, a master --
51 and if you use the program, he is your master." Richard Stallman

Replies

Subject Author
Re: [gentoo-dev] Re: lua upgrade plan William Hubbs <williamh@g.o>
[gentoo-dev] Re: lua upgrade plan Martin Vaeth <martin@×××××.de>