Hacker GitHub

← All repos

vkazanov/bytecode-interpreters-post

View on GitHub ↗ ★ 130 C

A few basic bytecode interpreters used as example code in a series of articles

3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2018-12-14 · latest 2025-03-10

Mentions per year 3 mentions · busiest year 2025 (2)
20082026
  1. …branch predictors. What's interesting is that a token threaded interpreter dominated my benchmark ( https://github.com/vkazanov/bytecode-interpreters-post/blob/... ). This trick is meant to simplify dispatching logic and also spread…
  2. …I've put together an article and a a test for popular interpreter loop implementation approaches: https://github.com/vkazanov/bytecode-interpreters-post
  3. …are on Github[1]. It includes a couple of dispatch techniques, register caching, etc. [1]: https://github.com/vkazanov/bytecode-interpreters-post
    comment by vkazanov · 2018-12-14 · in Write Your Own Virtual Machine