Re: [Numpy-discussion] Better compatibility of the Python scientific/data stack with fast Python interpreters

Michał Górny <[email protected]> Wed, 30 Apr 2025 14:24:09 +0200
Newsgroups gmane.comp.python.pypy,gmane.comp.python.numeric.general,gmane.comp.python.hpy
Organization Gentoo
Message-ID <[email protected]>
--===============5893269842701698347==
Content-Type: multipart/signed; micalg="pgp-sha512";
	protocol="application/pgp-signature"; boundary="=-Eqg6+bFIKIfNls/P0vSH"


--=-Eqg6+bFIKIfNls/P0vSH
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello,

I'd like to just add a few data points from my Gentoo experience.


On Wed, 2025-04-30 at 07:32 +0200, Ralf Gommers via pypy-dev wrote:
> On Tue, Apr 29, 2025 at 11:24=E2=80=AFAM PIERRE AUGIER <
> [email protected]> wrote:
>=20
>=20
> > I think getting proper compatibility of the Python scientific/data stac=
k
> > with fast Python interpreters is very important for the long-term futur=
e of
> > Python for science and data.
> >=20
>=20
> I'm not sure it is, it wouldn't rank high on my wish list. PyPy is nearin=
g
> its end-of-life, [...]

I'm sorry but I don't understand what you're referring to.  Sure, PyPy
is not moving fast, but it definitely isn't dead.  Sure, it sucks that
we're still stuck in Python 3.11 era, but that doesn't make PyPy EOL.

> More importantly, none of these efforts (including the "faster CPython"
> project), seem critical to numerical/scientific users. We're still talkin=
g
> about pure Python code that gets maybe up to 5x faster, while the gains
> from doing things in compiled languages are a lot higher. So the benefits
> are more important for small packages if it moves the threshold at which =
it
> becomes necessary for them to write zero extension modules. For core
> libraries like NumPy, pure Python performance isn't super critical.

A user has made an interesting argument once -- while there is no gain
from using, say, NumPy on PyPy compared to CPython, there are big
projects that happen to 1) have major performance gains in their pure
Python code, and 2) use NumPy as a dependency.  I'm not saying NumPy
needs to necessarily be optimized for that use case, just pointing out
that it happens to be used in the wild, and for good reasons.


--=20
Best regards,
Micha=C5=82 G=C3=B3rny


--=-Eqg6+bFIKIfNls/P0vSH
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----

iQFGBAABCgAwFiEEx2qEUJQJjSjMiybFY5ra4jKeJA4FAmgSFmkSHG1nb3JueUBn
ZW50b28ub3JnAAoJEGOa2uIyniQOyYEIALjPBTdmxkasPiAFO31Eo2ko5gNjoGf0
iqjPKOWUaTfisJMeWFnh4NhHzmdNBpIvILov6LMEZC8wI7iqTOW3LlWOqULeGv04
Cp1pxs2cqJJIclSGR0RvRLfsV9tXsCMQDSJwWVczB1KFArjZV4uYj2bCwnOW9LMH
bwkZFq0iMsnHsdsOlKppwrSE5IaWaPV/PZccHyMjRw37GVsSd5nE1+yzN17kbKoc
Xra2MI8QC7y/WqsMxwuWCvbFGDwFXWT669Afq9C83lowIhnDKVfZ5UoSH9yWJp3t
/zHWxXXCfeXZkmUQGHoLfnSs8GqTJHY0qzKNsBrSFUNYySuVN2Z0CGE=
=qso3
-----END PGP SIGNATURE-----

--=-Eqg6+bFIKIfNls/P0vSH--

--===============5893269842701698347==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
pypy-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/pypy-dev.python.org/
Member address: [email protected]

--===============5893269842701698347==--