Lurker News
Hi everyone, I built PyXL — a hardware processor that executes a custom assembly generated from Python programs, without using a traditional interpreter or virtual machine. It compiles Python -> CPython Bytecode -> Instruction set designed for direct hardware execution.

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

Comments (265) 74 threads

Earlier comments
jollyllama1 reply#
Name's a bit confusing when XLWings exists
dragonwriter1 reply#
> Name's a bit confusing when XLWings exists

How? XLWings is not a similar name to pyxl. However, even so, the name is... Heavily overloaded:
https://pyxl.com/ (some kind of strategy/CRM/AI thing)
https://pyxl.ai/ (AI website builder)
https://www.pyxl.pro/ (AI image generator)
https://github.com/dropbox/pyxl (Inline HTML extension for Python)
https://openpyxl.readthedocs.io/en/stable/ (A Python library to read/write Excel files)
https://www.pyxll.com/ (Excel Add-in to support add-ins written in Python)

jollyllama#
>has XL >has to do with Python

Indeed, the namespace is rather crowded.

dcreater1 reply#
Very impressive! Can it run on RISC V?
SpaceNoodled1 reply#
This is a unique architecture, not just software.
dcreater1 reply#
Sorry then Im not following how this can be useful if I cant use off the shelf hardware?
lizknope#
It does. OP says it runs on an FPGA, specifically a Zynq-7000
esseph#
This seems super, super cool!
sneak#
How long did you work on this?

Load more comments