Pyjion – A Python JIT Compiler

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Pyjion

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

  • This is the first time I've learned of this. How it compares to PyPy:

    > PyPy is an implementation of Python with its own JIT. The biggest difference compared to Pyjion is that PyPy doesn't support all C extension modules without modification unless they use CFFI or work with the select subset of CPython's C API that PyPy does support. Pyjion also aims to support many JIT compilers while PyPy only supports their custom JIT compiler.

    https://github.com/tonybaloney/Pyjion

    Apparently it's originally a Microsoft project, and it requires .NET

  • Numba

    NumPy aware dynamic Python compiler using LLVM

  • I wonder how this compares with Numba [1]. I've used Numba on occasion to speed up numerical heavy Python code (although I would normally prefer to use Julia when possible). It can be quite finicky, but when it works in nopython mode it usually provides a significant speedup.

    [1] https://numba.pydata.org/

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Cython

    The most widely used Python to C compiler

  • Why is there so little mention of https://cython.org/ ?

    It's very fast, it compiles to C code, then compiles the C code with a normal compiler.

  • graalpython

    A Python 3 implementation built on GraalVM

  • Isn't this what the GraalVM [1] guys are also trying to do? Seems like today the competition is between who is more polyglot than the other, JVM, CLR or WASM.

    [1] https://github.com/oracle/graalpython

  • nes

    A Nintendo Entertainment System (NES) emulator in Python and Cython. (by jameskmurphy)

  • For example here's a Python project modified to work well on Cython - I think that's pretty substantially modified.

    https://github.com/jameskmurphy/nes/tree/main/nes/cycore

  • falcon

    The no-magic web data plane API and microservices framework for Python developers, with a focus on reliability, correctness, and performance at scale.

  • And here's a project that's mostly Python, and optionally uses Cython https://github.com/falconry/falcon

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