From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WB4NHdvzFV9pQwAA0tVLHw (envelope-from ) for ; Mon, 20 Jul 2020 19:43:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8LgVGdvzFV+HeAAAB5/wlQ (envelope-from ) for ; Mon, 20 Jul 2020 19:43:23 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 37EBE94053E for ; Mon, 20 Jul 2020 19:43:23 +0000 (UTC) Received: from localhost ([::1]:52194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxbh4-0000a5-6N for larch@yhetil.org; Mon, 20 Jul 2020 15:43:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxbgq-0000Nv-0B for guix-devel@gnu.org; Mon, 20 Jul 2020 15:43:08 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:48854) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxbgn-0006FD-NZ for guix-devel@gnu.org; Mon, 20 Jul 2020 15:43:07 -0400 Received: (qmail 31678 invoked by uid 1009); 20 Jul 2020 21:42:56 +0200 Received: from user-94-254-206-182.play-internet.pl (kuba@kadziolka.net@user-94-254-206-182.play-internet.pl) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25878. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(94.254.206.182):. Processed in 0.050554 secs); 20 Jul 2020 19:42:56 -0000 Received: from user-94-254-206-182.play-internet.pl (HELO gravity) (kuba@kadziolka.net@94.254.206.182) by pat.zlotemysli.pl with SMTP; 20 Jul 2020 21:42:56 +0200 Date: Mon, 20 Jul 2020 21:42:54 +0200 From: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= To: Lars-Dominik Braun Subject: Re: [Python] pypy3 integration Message-ID: <20200720194254.tiolat2ohihsbgu5@gravity> References: <20200719082714.GB1359@noor.fritz.box> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zrjxs7b477xd4ayi" Content-Disposition: inline In-Reply-To: <20200719082714.GB1359@noor.fritz.box> Received-SPF: none client-ip=37.59.186.212; envelope-from=kuba@kadziolka.net; helo=pat.zlotemysli.pl X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/20 15:42:57 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -2.61 X-TUID: 0JbVyGiEhAXc --zrjxs7b477xd4ayi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 19, 2020 at 10:27:14AM +0200, Lars-Dominik Braun wrote: > Hi, >=20 > I=E2=80=99ve been looking into integrating pypy3 (a JIT Python 3 implemen= tation) > tighter into guix. Right now we have a package, but it=E2=80=99s not that > useful, because there are no pypy3-* libraries. pypy3 works somewhat well for me already in this regard: ~$ genv --pure --ad-hoc pypy3 python-sympy python -- pypy3 Python 3.6.9 (?, Jan 01 1970, 00:00:00) [PyPy 7.3.1 with GCC 7.5.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>>> import sympy >>>> sympy.isprime(694201337) True The `python' package needs to be included in the environment so that PYTHONPATH gets set, but apart from that, the normal python-prefixed packages seem to work with pypy. At least, for a sample size of 1 ;) I suppose it could be worth it to precompile the packages for use in pypy too, though. I'm not sure what's the best way of solving this. Just creating separate pypy3-* packages has the big drawback that if you use python-* instead, you silently get worse loading performance. Thoughts? Regards, Jakub K=C4=85dzio=C5=82ka --zrjxs7b477xd4ayi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl8V874ACgkQ4xWnWEYT FWSiDxAAhsJ6pOvEeSNg+fTOS1e6xFqgKOXOw4iQRdI53ChMn4rWAw52fb/zRIB/ 1dmr9vVvYebr3g6DQTb7yRt9xNDGikjU0PPl4MLLZR3juBnfpzQCPF0vjZ2bEVBQ /fd5BO4KYZiRtEKtiDcDbcUd9w3gZT8lEVXFrwB0Ga/qnEo6A13TCFkv4aK32FU2 gEe++Cv3qa3uT7lDcib/yAAiInWEf1uKCOD88eLEfimaKPkv9hZtduVU7LaMCtqT W6EoMHBMI/TjkpFCxh8IVeZVTejfpfb55VzQZq7gqrMYYNvkwFlI6q0gKT7U/ZVU H0FppOam7N2RTwArGvWqrH/rElt0yGLwHKlPJx2e1mlp7n3I5JI3V/nHsqfLeuku PTVA1wm9xvyigKTEHbsJEJWP69OQaSkVA3k9pUX2DMJk7RuLxdo8GacFJjyFxSFI sFynpY5hImedKB8t9R1gUbKfFG6zPDfs0J3A+DEzUBolkTu+5gPetq/fTFT4CFrA PxKUo/WEdzBaypYxROEuJC7acEdlBdOO0PzXxpJk+eT2fhcg48U+CTwkdDcExxLV cDbLG1XhEHmENVZbbBreFoG+TL1ZZ9om0gVKRFkJSf4jywNTz4qiP3ZXgsBfdKz5 ihkFwYC3qyNnrdZ2k7aYwffLVHcXELl8JimF+PTij22ByHs9fpI= =eqjb -----END PGP SIGNATURE----- --zrjxs7b477xd4ayi--