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
20082026
-
…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…
comment by vkazanov · 2025-03-10 · in Performance of the Python 3.14 tail-call interpreter -
…I've put together an article and a a test for popular interpreter loop implementation approaches: https://github.com/vkazanov/bytecode-interpreters-post
comment by vkazanov · 2025-03-10 · in Performance of the Python 3.14 tail-call interpreter -
…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