guix-devel
[Top][All Lists]
Advanced

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

Re: neovim and luajit?


From: Jack Hill
Subject: Re: neovim and luajit?
Date: Thu, 29 Apr 2021 18:28:45 -0400 (EDT)
User-agent: Alpine 2.21 (DEB 202 2017-01-01)

On Sun, 25 Apr 2021, HiPhish wrote:

I just want to add my 2 cents to the discussion. Officially Neovim supports only
Lua 5.1 as its extension language according to the manual (`:h lua-intro`):

The Lua 5.1 language is builtin and always available.

Using LuaJIT allows the use of some extensions to Lua 5.1, but plugins relying
on this functionality are strictly speaking non-portable because not all users
might have them. I don't know if it is possible with Guix, but the ideal
solution would be to use LuaJIT where available and fall back on Lua 5.1
otherwise.

Yes, I believe that this would be possible, but based on what Efraim says it may not even be needed.

On Sunday, 25 April 2021 09:15:57 CEST Efraim Flashner wrote:

Our copy of luajit supports aarch64 so I don't think that's a problem.
(Last I checked) Debian has a patch to replace powerpc support with
64-bit ppc support. I'd go ahead with the change if that's the direction
that neovim is going and let the powerpc64le people decide between using
lua5.1 or just removing lua support on a per-architecture basis for
ppc64le.

That does sound promising.

Therefore, I've proposed switching to luajit in #48109

https://issues.guix.gnu.org/48109

Thanks for your replies!
Jack



reply via email to

[Prev in Thread] Current Thread [Next in Thread]