Pyston v2.2: faster and open source

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Judoscale - Save 47% on cloud hosting with autoscaling that just works
Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.
judoscale.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
  1. cinder

    Cinder is Meta's internal performance-oriented production version of CPython. (by facebookincubator)

    Pyston 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/

    [1] https://github.com/facebookincubator/cinder

  2. Judoscale

    Save 47% on cloud hosting with autoscaling that just works. Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.

    Judoscale logo
  3. Pyston

    (No longer maintained) A faster and highly-compatible implementation of the Python programming language.

    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?

  4. hpy

    HPy: a better API for Python

    > not fully compatible

    It's really quite close, and https://github.com/hpyproject/hpy is intended to make them even closer.

  5. Nuitka

    Nuitka is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.4-3.13. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module.

  6. Pyjion

    https://github.com/microsoft/Pyjion was a really nice attempt to marry CPython with JIT in a rather generic way, but it was abandoned quickly.

  7. tinyknn

    A tiny approximate K-Nearest Neighbour library in Python based on Fast Product Quantization and IVF

    With Cython you can get C level performance. The cost is that your Python code has to be written just as you would write C.

    See e.g. https://github.com/thomasahle/fast_pq/blob/main/_fast_pq.pyx... for how much fast Cython code can look like C.

  8. Pyjion

    Pyjion - A JIT for Python based upon CoreCLR (by tonybaloney)

    Development of Pyjion continues here:

    https://github.com/tonybaloney/Pyjion

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. graalpython

    GraalPy – A high-performance embeddable Python 3 runtime for Java

    I'd say graal is even less mature than Pyston. See https://github.com/oracle/graalpython/tree/master/docs/user

    > At this point, the Python runtime is made available for experimentation and curious end-users.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

Did you know that Python is
the 2nd most popular programming language
based on number of references?