Hacker GitHub

← All repos

codr7/liblg

View on GitHub ↗ ★ 181 C

A minimal stack-based VM

5 mentions on Hacker News by 1 person: 2 stories, 3 comments · first 2020-08-27 · latest 2021-03-28

Mentions per year 5 mentions · busiest year 2020 (3)
20082026
  1. I recently created a library for the other part of an interpreter. https://github.com/codr7/liblg https://github.com/codr7/liblgpp
  2. …C++ is to allow plugging new opcodes into the instruction set without updating the dispatch loop. https://github.com/codr7/liblg https://github.com/codr7/liblgpp
  3. It's easy enough to convert by adding arguments for the two variables used in the iterative version: https://github.com/codr7/liblg/blob/master/bench/fibiter.py https://github.com/codr7/liblg/blob/master/bench/fibtail.py
    comment by codr7 · 2020-10-11 · in Thinking About Recursion