Hacker GitHub

← All repos

nedbat/byterun

View on GitHub ↗ ★ 1,366 Python

A Python implementation of a Python bytecode runner

7 mentions on Hacker News by 7 people: 1 story, 6 comments · first 2014-01-11 · latest 2026-04-17

Mentions per year 7 mentions · busiest year 2014 (1)
20082026
  1. See also https://github.com/nedbat/byterun and https://github.com/rocky/x-python
    comment by tekknolagi · 2026-04-17 · in A Python Interpreter Written in Python
  2. …For comparison, there is a pure Python bytecode interpreter, its VM is here: https://github.com/nedbat/byterun/blob/master/byterun/pyvm2.... It's 1043 lines.
  3. What an excellent 500 lines introduction to the byterun bytecode interpreter / virtual machine: https://github.com/nedbat/byterun Also, proceeds from optional purchases of the AOSA books go to Amnesty International. https://aosabook.org/
    comment by westurner · 2019-09-21 · in A Python Interpreter Written in Python
  4. …JIT can probably speed it up, but still needs deoptimization checks in case types change.) [1] see https://github.com/nedbat/byterun for a Python implementation
    comment by yorwba · 2018-12-07 · in PyTorch 1.0 is out
  5. Meta? You want meta? Try byterun [1], a full Python bytecode executor written in Python... [1] https://github.com/nedbat/byterun
  6. ▲ 1
    A Python implementation of a Python bytecode runner
    story by yuashizuki · 2015-01-27 · 0 comments
  7. As of 2 months ago Ned doesn't follow his own advice: https://github.com/nedbat/byterun/blob/master/byterun/execfi...
    comment by cgrubb · 2014-01-11 · in Comments should be sentences