Hacker GitHub

← All repos

skx/simple.vm

View on GitHub ↗ ★ 478 C archived

Simple virtual machine which interprets bytecode.

6 mentions on Hacker News by 2 people: 0 stories, 6 comments · first 2015-05-09 · latest 2019-08-10

Mentions per year 6 mentions · busiest year 2015 (2)
20082026
  1. …and usage a little more clearly. For example my own toy language was written in C here: https://github.com/skx/simple.vm And I think I did a good job of showing how to use the instructions. Then for fun I rewrote it in golang…
    comment by stevekemp · 2019-08-10 · in Basic Virtual Machine Implementation in C99
  2. …instruction set, and write something to process it. A couple of years ago I did that, 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…
  3. JVM might be much more involved project but here is a simple virtual machine - https://github.com/skx/simple.vm
  4. …The project seems reasonably popular, for reasons that I don't understand, but it is very simple: https://github.com/skx/simple.vm
    comment by stevekemp · 2017-02-11 · in Show HN: How to write a tiny compiler
  5. …includes a compiler, a decompiler, support for conditionals, and also an example of embedding): https://github.com/skx/simple.vm Rather than having an enum of opcodes I have a array of pointers to functions - one for each opcode I…
    comment by stevekemp · 2015-06-23 · in Implementing a Virtual Machine in C
  6. …of how to handle branching was what made it more interesting than other similar toy systems. https://github.com/skx/simple.vm
    comment by stevekemp · 2015-05-09 · in Implementing a Virtual Machine in C