niess / python-appimage

AppImage distributions of Python
https://python-appimage.readthedocs.io/en/latest/
GNU General Public License v3.0
170 stars 24 forks source link

PyPy AppImages #61

Open mxmlnkn opened 1 year ago

mxmlnkn commented 1 year ago

This might be out of scope as far a suggestions go but would it be possible to also offer PyPy AppImages?

My motivation is that I've heard, not yet tested, that PyPy performs generally faster than CPython. And, by using an AppImage, the user doesn't even have to be instructed to install an alternative Python interpreter to make use of the faster speed. I think that things like these, increased performance or features requiring a difficult setup, is really one of the strongest points of using AppImages in the first place.

niess commented 1 year ago

Hello @mxmlnkn,

thanks for this suggestion. That would be great indeed.

Actually, PyPy is installed in the Manylinux Docker images, besides CPython. Thus, it might really be possible with only minor tweaks. Unfortunately, I cannot do this right now. Maybe over the weekend, or Christmas break.

mxmlnkn commented 1 year ago

I did a quick check with a local installation of PyPy 7.3.9 and found that it is almost twice as slow as CPython 3.11 for my use case. So, feel free to close this issue. Other use cases might still benefit from it, though.

niess commented 1 year ago

Hello @mxmlnkn ,

Thank you for the information. I'll keep it open for now, since I still think it might indeed be interesting. Although, I didn't find time for this so far.