5 ms·
I really find a bummer that there is such a resistance to make JIT enable versions available for download, alongside the other variants. Naturally I can easily
by pjmlp 2y ago
I really find a bummer that there is such a resistance to make JIT enable versions available for download, alongside the other variants.
Naturally I can easily compile my own Python 3.13 version, no biggie.
However from my experience, this makes many people that could potentially try it out and give feedback, don't care and rather wait.
- pzo 2y agonot sure if there will distributed in homebrew et al but at least "Pre-built binaries marked as free-threaded can be installed as part of the official Windows and macOS installers" [0] [0] https://docs.python.org/3.13/whatsnew/3.13.html#free-threaded-cpython https://docs.python.org/3.13/whatsnew/3.13.html#free-threade...
- Ralfp 2y agoJIT is in weird place now because according to a recent talk from PyCON US by it’s author, the tier 2 optimizer that prepares code for JIT reduces performance by 20% and JIT just recovers that performance loss. A lot of langugage is still not optimized by tier 2 [1] and even less has copy and patch templates for JIT. And JIT itself currently has some memory management issues to iron out. [1]: https://github.com/python/cpython/issues/118093 https://github.com/python/cpython/issues/118093 Talk by Brandt Butcher was there but it was made private: https://www.youtube.com/watch?v=wr0fVU3Ajwc https://www.youtube.com/watch?v=wr0fVU3Ajwc
- pjmlp 2y agoI have seen some stuff about that, however that is to be expected. Many of these kind of changes take time, and require multiple interactions. See Go or .NET tooling bootstraping, all the years that took MaximeVM to evolve into GraalVM, Swift evolution versus Objective-C, Java/Kotlin AOT evolution story on Android, and so on. If only people that really deeply care get to compile from source to try out the JIT and give feedback, it will have even less people trying it out than those that bother with PyPy.
- sevensor 2y ago> those that bother with PyPy Which itself needed to be compiled from source the first time I tried it. All the hours of Mandelbrot were worth the spectacular speedup.
- pjmlp 2y agoWhich was a thing several years ago, not in 2024. As mentioned I don't have any issues compiling it myself, more of an adoption kind of remark.
- mattip 2y agoThere are portable downloads of PyPy here https://pypy.org/download.html https://pypy.org/download.html
- saghm 2y agoIt sounds like their point is that there's precedent for things in early stages only being provided as source, with binary releases coming later when things are more stable
- targafarian 2y agoOn the other hand, if people who don't care enough to compile it for themselves try it out, the Python devs can be flooded with complaints and bug reports that effectively come down to it being in alpha. You get both sides (yes, you might limit some who would otherwise try it out). I think requiring people to compile to try out such a still-fraught, alpha-level feature isn't too onerous. (And that's only from official sources; third parties can offer compiled versions to their hearts' content!)
- jononor 2y agoIt will happen in one of the later releases. They might not be ready for widespread testing from people who are not willing to build from source, yet.
- deleted 2y ago[deleted]
- the__alchemist 2y agoRelated: It's a mystery to me why Python doesn't provide interpreter binaries for linux. (They do for Windows)
- woodruffw 2y agoLinux isn’t one target, but a matrix of targets: providing binaries for Linux means picking architectures, libc versions and variants, OpenSSL versions and forks, etc. against which to canonicalize. This also has downstream implications, e.g. a CPython binary with a static build of OpenSSL might contain an OpenSSL vulnerability that CPython is now on the hook for remediating (rather than delegating that remediation responsibility to downstream distributions). Some of this complexity is also true for Windows, but Linux’s (good!) diversity makes it a bigger challenge.
- the__alchemist 2y agoValid, but you can make three binaries that will work for the most common use cases. (I've done this) For a project as big as this, doing so is trivial, vice offloading it onto the users.
- nine_k 2y ago> offloading it onto the users Not end users but distro maintainers. If you run almost any Linux distro imaginable, it has Python already in the distro. If you want to try a version that's not yet even supported by the unstable branch of your distro, or not available on some PPA, etc, you need to be well enough versed in its dependencies to build it yourself. Alpha-quality software, of course, benefits from more eyes, but it mostly needs certain kinds of eyes.
- Joeboy 2y agoI haven't really used it in anger, but I believe `uv` can install pre-compiled python binaries (from... somewhere?). Maybe also pyenv?
- 2y ago
- sitkack 2y agoThey are saving the JIT on release for 3.14! Sssshhhhhh
- theandrewbailey 2y agoPi-thon