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
_JamesA_1 reply#
It would be interesting to see something like this that runs WASM as a universal bytecode.
IshKebab#
I'm sure it's been done. I doubt it really is any better though because you can do a lot of optimisations in software that you can't do in hardware.
simonw#
This looks incredible.

Do you have any open source code available for this yet?
Are you planning to release this as open source? If not, do you have a rough idea for how you plan to commercial license this tech?

ConanRus#
> the program is compiled to a CPython Bytecode and then compiled again to PyXL assembly. It is then linked together and a binary is generated.

why are we not doing this for a standard python? i think LLVM is just for that, no?

jay-barronville#
This type of project is why I love HN. This work is brilliant!

Almost every question I had, you already answered in the comments. The only one remaining at the moment: How long exactly have you been working on PyXL?

Load more comments