From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 24C401382C5 for ; Tue, 19 Jan 2021 14:33:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D94AE08EF; Tue, 19 Jan 2021 14:33:12 +0000 (UTC) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2884CE0894 for ; Tue, 19 Jan 2021 14:33:12 +0000 (UTC) Received: by mail-qt1-x833.google.com with SMTP id h19so13724929qtq.13 for ; Tue, 19 Jan 2021 06:33:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=uOYVsHYtMBAuqwi9lWZ8tE7TqXDhiW2mEuXNBBhlyDY=; b=gllQZ6MSgM5V2GXtpdkXHoCsoh1exwl/NkqkGdG9xCMmC/YUj/upA8d2RJyr5fVljf tcO7ygWIs50GkI6VdF7ZhlK0ILiq8hkcnbEVwAAC0wd9EWXkNsQHsWpcxEQHgV/rdqU5 G4iMgVNdkHOy1AljRWiH7BNYQVZDDFIwFi1X/VV8WTglGqAT/LupI+KhOIRQwYQUXvRW eFk2jiIYFKXqwATki8Fh74xh7oZjfQJtc9ZcywuHQX1oiGE2c8HFzmcs1iHJFx3Hypgp 5acijfbB3/aVja91m7DStzuV/FEBxP4N4eSxOyfW4vI2wpgSJRFcI3RI4aXOw9rO9I+C bNgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=uOYVsHYtMBAuqwi9lWZ8tE7TqXDhiW2mEuXNBBhlyDY=; b=V/M18+TsoujXGJxK1mFoazIUy4cXcti+xRx/f0uhOn/A4VdayQ5kzya4Bvj6X/o+6K FdoYiQvswkrRqKEu8a0F11CwWF8b4UeAgbRaNOI5JcerkpzHEJBqxmQbnbzMrlE7dogf R+2gOpllsro9VzAoG7rtnBVF+ezD1kpKHJQHCubZ3oyYPhQP+mAOC2dDcxUdo9tl5WhI sAazmP6IPE+9Yd4v7WYY39PTVOSGa+GiWbCyzu2PPsqkuTH5ED/nWeeIrI3CgnmWOYja Lk/GBmZn4Cr5MrIHh2O6SRFfmUEARzd1mF9ulZzM2GBxmrVJkimEzlWsfJy6D9+yxywS ExMA== X-Gm-Message-State: AOAM531qOfW6xOHfCGLuyqLltHCsAR1D1fGo5xPapXP8DD+0igDVikAW igvy+YKnK3+s/VOcTHzGa3jFkxIwUw== X-Google-Smtp-Source: ABdhPJyrCCOQi/snozWBjdRVQ+8QCfVXayReYX5Vx47p/oAhm4Hgv3f8GkTeayKXH5JdIpQM3J9Wyw== X-Received: by 2002:ac8:6714:: with SMTP id e20mr4400996qtp.378.1611066791094; Tue, 19 Jan 2021 06:33:11 -0800 (PST) Received: from eversor ([24.157.215.217]) by smtp.gmail.com with ESMTPSA id k19sm12568197qkh.6.2021.01.19.06.33.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jan 2021 06:33:09 -0800 (PST) Date: Tue, 19 Jan 2021 09:33:08 -0500 From: Ionen Wolkens To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: Which Lua should I choose? Message-ID: References: <2450810.Lt9SDvczpP@gump> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6vltsPYBWAxf3dqE" Content-Disposition: inline In-Reply-To: <2450810.Lt9SDvczpP@gump> X-Archives-Salt: 87a2770c-ee97-417b-8021-3036e127672e X-Archives-Hash: b4001babadad57a7f48917c536f4f469 --6vltsPYBWAxf3dqE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 19, 2021 at 02:51:49PM +0100, Gerion Entrup wrote: > Hi, >=20 > with the recent Lua changes in Gentoo, I now must somehow choose, which L= ua version I should prefer. > I have heard that every Lua version is mostly different (incompatible) fr= om each other and in addition to that there is Luajit which is much faster = an also supported. > However, all (slotted) Lua versions in the current tree are keyworded. >=20 > Portage on its own seems to choose Lua 5.1. > Is there a recommendation which Lua version is a wise choice? >=20 > For Python it is usually a good choice to set nothing and you get a high = compatibility (3.7 is the default currently, I think). If you choose newer = Python versions, you get more features but also more work with regard to se= tting some useflags for packages that don't support the new version yet. Is= there something comparable with Lua? The point of slotted lua is to be able to have many at once. There's packages that only support 5-1, and others only 5-3 (like darktable), so pick 1 or many based on what you need/use. lua5-1 still has the most compatibility so it makes sense as default for now. lua5-4 is on the opposite end with too little support. Not fond of luajit, it feels kind of like a old hack to me while normal lua been moving forward. Personally use lua5-3 where possible, and fall back on the next lower version if needed. --=20 ionen --6vltsPYBWAxf3dqE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEx3SLh1HBoPy/yLVYskQGsLCsQzQFAmAG7aQACgkQskQGsLCs QzRJWQf+L7iPiPzifD3E/IQCrwUqRl9ZyKSEsRsTJNBVJ8kbvEFPRADRqJsjphpp 0t37kkg75MQwTESkFIdU/yCkDK7IOzlNjAi2TC4Pznfxnec8m2B73sCLOe/E9aE9 t2g0vumcHsGC6oAudsqCTnmyZDHkN5+1BaKULlkLOjQFdLRKWuOZTvsiEfXsFozA /Y7i1rEIsjIFW1GRfs52k0Xk66DFw0KyBoDFKX7P0OxrGVJfg/m0Iu5nVJ8spehq JccP0xMuBy+YXtgCFmrlVHJVuw/GyVf6i64jEimqx10wIZH+PZ7+HjjYPKCDZzvB RBRDvk/fREHkNmb0TY45XUwwQhP0dg== =W+Ge -----END PGP SIGNATURE----- --6vltsPYBWAxf3dqE--