guix-devel
[Top][All Lists]
Advanced

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

Re: [Python] pypy3 integration


From: zimoun
Subject: Re: [Python] pypy3 integration
Date: Wed, 22 Jul 2020 12:34:02 +0200

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



reply via email to

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