Show HN: I built a hardware processor that runs Python
The article discusses how to use the GPIO (General Purpose Input/Output) pins on a Raspberry Pi to control and interact with external electronic components. It provides a step-by-step guide on setting up and programming the GPIO pins using the Python programming language.
I’m sharing an early benchmark: a GPIO test where PyXL achieves a 480ns round-trip toggle — compared to 14-25 micro seconds on a MicroPython Pyboard - even though PyXL runs at a lower clock (100MHz vs. 168MHz).
The design is stack-based, fully pipelined, and preserves Python's dynamic typing without static type restrictions. I independently developed the full stack — toolchain (compiler, linker, codegen), and hardware — to validate the core idea. Full technical details will be presented at PyCon 2025.
Demo and explanation here: https://runpyxl.com/gpio Happy to answer any questions