Software Dev Notes

Systems Programming

Memory, C, Rust and how computers run code.

Systems

How a C Program Goes From Source File to Executable

A C program passes through preprocessing, compilation, assembly and linking before it runs. Learn each stage, the files produced and the gcc commands.

6 min read
Systems

How Virtual Memory Works in Modern Operating Systems

Virtual memory gives each process its own address space, backed by pages and page tables. Learn page faults, the TLB and why it protects programs.

6 min read