Iridium

So You Want to Build a Language VM - Part 00 - Computer Hardware Crash Course

Covers general elements of computer hardware useful to know before reading the rest of the tutorials

A Brief Course in Computer Hardware

Hi there! This is the prelude to a series of posts to detailing how to build a language VM. If you are familiar with terms like registers, program counter and assembly, feel free to skip this post. If not, read on. Please note this is nowhere near comprehensive, but enough to understand what we’re building. == What is a Language VM? You know how you can you type python script.py and magic happens? That’s the Python virtual machine, or language interpreter, reading the source code you wrote, translating it down to bytecode the Python VM can understand, and then executing it.