4 ms·
https://github.com/pyston/pyston https://github.com/pyston/pyston > Pyston is a fork of CPython with additional optimizations for performance. It is targeted a
by albertzeyer 5y ago
https://github.com/pyston/pyston https://github.com/pyston/pyston
> Pyston is a fork of CPython with additional optimizations for performance. It is targeted at large real-world applications such as web serving, delivering up to a 30% speedup with no development work required.
I did not really found any information on what type of additional optimizations are done. Is there some documentation which goes into that?
- Brotkrumen 5y agoI heard about Pyston in the python podcast https://www.pythonpodcast.com/pyston-fast-python-interpreter-episode-298/ https://www.pythonpodcast.com/pyston-fast-python-interpreter...
- dr_zoidberg 5y agoPyston originally started as an internal project at Dropbox and they had a couple of super interesting blogposts where they detailed their approach and findings[0]. After a a year or two, the project got axed, but the devs kept working on it and then released it on their own (I don't remember the details, but evidently the chosen license for the project allowed that). Last year (I think it was last year, but can't tell if that was 2020 or 2019) they released it on their own, thinking of a commercial model. Now they have switched to OSS+services, which is interesting because it'llopen up more people using Pyston. I tihnk this is interesting in its own right, but yesterday we got Facebook announcing Cinder[1] -- which is unsupported to outsiders, but significantly faster than Pyston. According to Facebook, they intend for parts of Cinder to be upstreamed (and have already upstreamed a few, apparently) to CPython. So again, and sorry for using such a vague word, it'll be interesting to see how all these things play out in time. [0] https://blog.pyston.org/2014/09/ https://blog.pyston.org/2014/09/ [1] https://github.com/facebookincubator/cinder https://github.com/facebookincubator/cinder
- Exmoor 5y agoAs someone with a fairly minimal understanding of the different open source licenses, I was a little confused on how you could fork Python to a commercial project, but it turns out it's permitted under the license [0]: > Note GPL-compatible doesn’t mean that we’re distributing Python under the GPL. All Python licenses, unlike the GPL, let you distribute a modified version without making your changes open source. The GPL-compatible licenses make it possible to combine Python with other software that is released under the GPL; the others don’t. [0]https://docs.python.org/3/license.html https://docs.python.org/3/license.html
- cwmma 5y agothis is the difference between 'strong' copyleft licenses like the GPL and 'weak' permissive licenses like the MIT, pythons, or BSD
- kmod 5y agoGood question, we talked about it a tiny bit in our previous blog post and are planning on doing more in-depth blog posts in the future. I added a very brief summary to the github readme: - A very-low-overhead JIT using DynASM - Quickening - Aggressive attribute caching - General CPython optimizations - Build process improvements