I built a hardware processor that runs Python

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

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
  1. 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.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. snakeware

    A free Linux distro with a Python-based userspace

    > We are very far from having a full single user graphics workstation in CPython, even if those JITs aren't perfect.

    Some years ago there was an attempt to create a linux distribution including a Python userspace, called Snakeware. But the project appears to be inactive now. See https://github.com/joshiemoore/snakeware

  4. pyxl

    A Python extension for writing structured and reusable inline HTML.

  5. wokwi-verilog-gds-test

    Have you considered joining the next tiny tapeout run? This is exactly the type of project I'm sure they would sponsor or try to get to asic.

    In case you weren't aware, they give you 200 x 150 um tile on a shared chip. There is then some helper logic to mux between the various projects on the chip.

    https://tinytapeout.com/

  6. Timefold Solver

    The open source Solver AI for Java and Kotlin to optimize scheduling and routing. Solve the vehicle routing problem, employee rostering, task assignment, maintenance scheduling and other planning problems.

    CPython bytecode changes behaviour for no reason and very suddenly, so you will be vulnerable to changes in Python language versions. A few from the top of my head:

    - In Python 3.10, jumps changed from absolute indices to relative indices

    - In Python 3.11, cell variables index is calculated differently for cell variables corresponding to parameters and cell variables corresponding to local variables

    - In Python 3.11, MAKE_FUNCTION has the code object at the TOS instead of the qualified name of the function

    For what it's worth, I created a detailed behaviour of each opcode (along with example Python sources) here: https://github.com/TimefoldAI/timefold-solver/blob/main/pyth... (for up to Python 3.11).

  7. CPython

    The Python programming language

    As in my sibling comment, pypy has already done all this work.

    CPython's struct module is just a shim importing the C implementations: https://github.com/python/cpython/blob/main/Lib/struct.py

    Pypy's is a Python(-ish) implementation, leveraging primitives from its own rlib and pypy.interpreter spaces: https://github.com/pypy/pypy/blob/main/pypy/module/struct/in...

    The Python stdlib has enormous surface area, and of course it's also a moving target.

  8. pypy

    PyPy is a very fast and compliant implementation of the Python language.

    As in my sibling comment, pypy has already done all this work.

    CPython's struct module is just a shim importing the C implementations: https://github.com/python/cpython/blob/main/Lib/struct.py

    Pypy's is a Python(-ish) implementation, leveraging primitives from its own rlib and pypy.interpreter spaces: https://github.com/pypy/pypy/blob/main/pypy/module/struct/in...

    The Python stdlib has enormous surface area, and of course it's also a moving target.

  9. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  10. uv

    An extremely fast Python package and project manager, written in Rust.

    c) I keep thinking Python will go away soon, and we will see a much better alternative. But the reality is Python is entrenched deeply just like JavaScript. Lot of smart people are putting in a lot of effort to make it better. Personally the ecosystem and packaging story does not annoy me much, but the lack of proper threading (GIL) has hurt my projects more than once.

    For your particular pain point, the current community recommended solution is to use uv (https://github.com/astral-sh/uv). There were several detours (pip, pyenv, pipenv, poetry etc.) the community took before they got behind this.

  11. Nim

    Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

    > I'm interested to see whether the final feature set will be larger than what you'd get by creating a type-safe language with a pythonic syntax and compiling that to native, rather than building custom hardware.

    It almost sounds like you're asking for Nim ( https://nim-lang.org/ ); and there are some projects using it for microcontroller programming, since it compiles down to C (for ESP32, last I saw).

  12. sugar

    Sugar GTK shell (by sugarlabs)

  13. polyphony

    Polyphony is Python based High-Level Synthesis compiler. (by polyphony-dev)

    Very cool. There's a similar project, Polyphony (https://github.com/polyphony-dev/polyphony) that translates Python directly into Verilog - no processor (A bit like what HLS does for C++). As part of my degree dissertation I tacked on AXI bus support to it to facilitate communication between the CPU and FPGA on a Zynq as a PoC of doing hardware/software co-design with Python.

    I'd definitely be interested in how this project progresses, particularly if it adds support for integration to the CPU. Some tie-in to the Pynq project could be super fun.

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

  • Nuitka: Optimizing Python compiler compatible with CPython

    2 projects | news.ycombinator.com | 18 Sep 2024
  • Nvidia Warp: A Python framework for high performance GPU simulation and graphics

    7 projects | news.ycombinator.com | 14 Jun 2024
  • List of Python compilers

    2 projects | /r/Python | 9 May 2023
  • Is there a way to use turn a project into a single executable file that doesn't require anyone to do anything like install Python before using it?

    2 projects | /r/learnpython | 1 Apr 2023
  • Python-based compiler achieves orders-of-magnitude speedups

    9 projects | news.ycombinator.com | 15 Mar 2023

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