Pyjion – A Python JIT Compiler

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

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • 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/

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • 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-nonsense 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