3 ms·
Cool stuff! Register management is a pain to do. It's nice to be able to leave that to LLVM or treat x86 as a stack machine. I wrote a compiler series explorin
by eatonphil 6y ago
Cool stuff! Register management is a pain to do. It's nice to be able to leave that to LLVM or treat x86 as a stack machine.
I wrote a compiler series exploring all three of these variations for a lisp dialect compiled by JavaScript.
https://notes.eatonphil.com/compiler-basics-an-x86-upgrade.html https://notes.eatonphil.com/compiler-basics-an-x86-upgrade.h...