unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: "Jakub Kądziołka" <kuba@kadziolka.net>,
	"Lars-Dominik Braun" <lars@6xq.net>
Cc: guix-devel@gnu.org
Subject: Re: [Python] pypy3 integration
Date: Wed, 22 Jul 2020 12:34:02 +0200	[thread overview]
Message-ID: <86lfjb2605.fsf@gmail.com> (raw)
In-Reply-To: <20200720194254.tiolat2ohihsbgu5@gravity>

Dear,

On Mon, 20 Jul 2020 at 21:42, Jakub Kądziołka <kuba@kadziolka.net> wrote:

> ~$ 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
>

Does it work in all situations?
Other said, the package python-sympy is “compiled” with CPython and then
used with pypy.  Moreover, CPython and PyPy are not the same VM, so not
the same optimizations and therefore I am not sure that the performances
of your trick vs an hypothetical pypy-sympy would be the same.


All the best,
simon


      parent reply	other threads:[~2020-07-22 10:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-19  8:27 [Python] pypy3 integration Lars-Dominik Braun
2020-07-20 11:17 ` zimoun
2020-07-20 19:16   ` Lars-Dominik Braun
2020-07-20 19:42 ` Jakub Kądziołka
2020-07-22  6:46   ` Lars-Dominik Braun
2020-07-22 10:39     ` zimoun
2020-07-27 10:48     ` Ludovic Courtès
2020-07-27 19:15       ` zimoun
2020-08-01  8:23         ` Lars-Dominik Braun
2020-07-22 10:34   ` zimoun [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86lfjb2605.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=kuba@kadziolka.net \
    --cc=lars@6xq.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).