# FPGA Runs Real CPython Bytecode, No Interpreter Required

Original title: Running CPython Bytecode on an FPGA

> Hacker News story 50688534 · language: en · submitted 2026-11-29
> Web version: https://zeli.app/story/50688534
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 19 · by [llazzaro](<https://news.ycombinator.com/user?id=llazzaro>) · 💬 7
[original](<https://www.lazzaro.com.ar/post/2026-11-29-running-cpython-bytecode-on-an-fpga/>) · [HN discussion](<https://news.ycombinator.com/item?id=50688534>)

## Summary

FPGA Python is an open-source processor that executes actual CPython 3.14.4 bytecode directly in FPGA logic. The host compiles a function, uploads its unchanged co_code over UART, and the hardware runs it with runtime arguments — add(20, 22) returns 42 on physical silicon. It handles bounded function calls and passes 88 tests, but the author is candid that full Python is far off: BINARY_OP alone implies arbitrary-precision integers, object lifetimes, and exceptions. No performance advantage over a CPU has been shown.

## Key quote

> It is tempting to treat full Python support as a list of missing instructions. That list is useful, but an opcode such as BINARY_OP hides a substantial runtime behind it.

## HN discussion (7 comments)

### [danudey](<https://news.ycombinator.com/item?id=50720979>)

> A friend of mine at university (back in like 2003) was working on a similar project; they were programming an FPGA to run Java bytecode natively, looking to see if it was possible/feasible to run Java 'natively'. I wonder what ever happened to that project.

### [nobodywasishere](<https://news.ycombinator.com/item?id=50719645>)

> Related: https://amaranth-lang.org/docs/amaranth/latest/

### [Neywiny](<https://news.ycombinator.com/item?id=50718388>)

> The developers yearn for Jazelle. I struggle to see any practical purpose but I'm sure it's a great learning exercise

---

## Cite

- Page: https://zeli.app/story/50688534
- Date: 2026-11-29
- Source: lazzaro.com.ar (https://www.lazzaro.com.ar/post/2026-11-29-running-cpython-bytecode-on-an-fpga/)
- Hacker News: https://news.ycombinator.com/item?id=50688534

## Other languages

- zh: https://zeli.app/zh/story/50688534 · markdown: https://zeli.app/zh/story/50688534.md
- ja: https://zeli.app/ja/story/50688534 · markdown: https://zeli.app/ja/story/50688534.md
- ko: https://zeli.app/ko/story/50688534 · markdown: https://zeli.app/ko/story/50688534.md
- de: https://zeli.app/de/story/50688534 · markdown: https://zeli.app/de/story/50688534.md
- es: https://zeli.app/es/story/50688534 · markdown: https://zeli.app/es/story/50688534.md
- ru: https://zeli.app/ru/story/50688534 · markdown: https://zeli.app/ru/story/50688534.md
