GeistHaus
log in · sign up

A quick look at destination-driven code generation

bernsteinbear.com

Picture this: you’re sitting there, writing a compiler, when all of a sudden you have to generate assembly. You have some intermediate representation (IR) but now you have to turn virtual registers into machine registers. This is called register allocation.

1 page links to this URL
Introduction to Bismuth VM

This is the first post in what will hopefully become a series of posts about a virtual machine I’m developing as a hobby project called Bismuth. This post will touch on some of the design fundamentals and goals, with future posts going into more detail on each.But to explain how I got here I first have to tell you about Bismuth, the kernel.

1 inbound link article en