russia is waging a genocidal war in Ukraine. Please help Ukraine defend itself before russia has a chance to invade other countries.

Basics of translating expressions into assembly.

Let’s work through an example of applying a basic technique to generate assembly for an expression.

2023/Jul/23 · Mykola

Looking to implement a compiler yourself?

Where to start with your own hobby-compiler and what to focus on to actually get it finished.

2023/Jul/07 · Mykola

A toy compiler of a small Scala subset

Compiling a small Scala subset down to x86-64 assembly

2023/Jul/03 · Mykola

Hey! Where did my `setcc` go?

Let’s find Clang/LLVM’s code responsible for eliding redundant instructions that materialize a boolean expression’s value in a register.

2023/Jun/29 · Mykola