Hacker GitHub

← All repos

skx/go.vm

View on GitHub ↗ ★ 344 Go archived

A simple virtual machine - compiler & interpreter - written in golang

7 mentions on Hacker News by 3 people: 3 stories, 4 comments · first 2018-07-02 · latest 2022-05-08

Mentions per year 7 mentions · busiest year 2018 (3)
20082026
  1. …which turns a simple assembly-language-like input into bytecodes which are then interpreted: https://github.com/skx/go.vm/ Other examples, along with lua/python which were already mentioned, might include "Writing a compiler in go" this…
    comment by stevekemp · 2022-05-08 · in New Assembly Like Programming Language?
  2. …it meant that I still have the problem of no real programs being written for the machine! https://github.com/skx/go.vm/
    comment by stevekemp · 2020-08-15 · in Write Your Own Virtual Machine
  3. …think I did a good job of showing how to use the instructions. Then for fun I rewrote it in golang https://github.com/skx/go.vm which showed some interesting differences. Your own tastes might differ, but I'd think after the interpreter a…
    comment by stevekemp · 2019-08-10 · in Basic Virtual Machine Implementation in C99
  4. …in C/Perl: * https://github.com/skx/simple.vm Later I rewrote the interpreter/emulator in go: * https://github.com/skx/go.vm The downside with my approach here is that I ignored graphcs, sound, & I/O. These days I'd recommend you write an…