1 |
On Sun, Mar 1, 2015 at 9:45 AM, Vadim A. Misbakh-Soloviov <mva@×××.name> wrote: |
2 |
> В письме от Вс, 1 марта 2015 20:36:03 пользователь Ben de Groot написал: |
3 |
>> |
4 |
>> Or maybe one of the other lua package maintainers has plans? |
5 |
> |
6 |
> |
7 |
> Not that I'm in-tree lua maintainer, but as Lua-overlay contributor and lua- |
8 |
> fanboy, I'd suggest to unmask all lua-interpreters and make them slotted just |
9 |
> as python/ruby/whatever. And provide a eselect-lua (I had ebuild for it |
10 |
> somewhere). |
11 |
|
12 |
This isn't going to happen any time soon, for several reasons. :( |
13 |
|
14 |
> Although, there is single issue: precompiled bytecode isn't compatible between |
15 |
> even "5.1" PUC-Rio Lua and LuaJIT, and, of course, AFAIR, between Lua5 |
16 |
> releases. |
17 |
|
18 |
You explained why yourself. This issue can be solved doing something |
19 |
like what is done for python, compiling and installing bytecode for |
20 |
each interpreter, but unless someone implements this perfectly, at |
21 |
least luajit isn't going to be involved in such thing. |
22 |
|
23 |
> But I don't think Lua-users do not know about that, so I don't think it is a |
24 |
> real problem. |
25 |
|
26 |
No, this is a real problem to implement multi-interpreter support. |
27 |
They don't care about the issue because they don't care about |
28 |
supporting other interpreters, or even multiple versions of Lua |
29 |
installed in parallel. |
30 |
|
31 |
I'm going to repeat this once again: Lua was designed to be built |
32 |
statically, then upstream don't cares about compatibility between |
33 |
different versions and interpreters. Creating static libraries is |
34 |
something that distributions want (and is generally the best |
35 |
approach), but the upstream developers don't care about this at all. |
36 |
That said, if you want to go that way, you are in your own, upstream |
37 |
isn't going to care about your issues or make your life easier. |
38 |
|
39 |
[]'s |
40 |
|
41 |
-- |
42 |
Rafael Goncalves Martins |
43 |
Gentoo Linux developer |
44 |
http://rafaelmartins.eng.br/ |