You Should Compile Your Python and Here’s Why

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • JetBrains - Developer Ecosystem Survey 2022
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • mypy

    Optional static typing for Python

    how, when mypy itself has only "type: ignore" as a workaround for many scenarios?

    here's a list of 41 issues where either the user or the mypy devs are saying "use type: ignore as a workaround for now":

  • Pyston

    A faster and highly-compatible implementation of the Python programming language.

  • JetBrains

    Developer Ecosystem Survey 2022. Take part in the Developer Ecosystem Survey 2022 by JetBrains and get a chance to win a Macbook, a Nvidia graphics card, or other prizes. We’ll create an infographic full of stats, and you’ll get personalized results so you can compare yourself with other developers.

  • htmlx

    a lightweight version of domonic

    After reading the article last night. I spent the whole evening about 5 hours getting one of my DOM libraries to compile with mypyc. It's a hacky codebase with little to no type hinting. I had to rewrite a fair abit to appease mypy and in most cases just used 'Any'. It's still got runtime issues and is buggy but I got at least a 2x speed increase on rendering a single node...

    However I was unable to compile from my mac, could only compile using linux. but that could be as I'm using older version of dev tools.

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