Notes
Systems, storage, and the things behind the abstractions.
-
Who frees this? Rust's ownership and borrowing
A C program asks: who frees this? A garbage-collected program asks: who cares? Rust answers the first question at compile time, and the answer is called ownership.
-
How databases store data: from a bash log to a B-tree
Two storage engines power most of the databases you've used. One is a tree of pages, updated in place. The other is a stack of immutable files, merged in the background. We will build both, badly, and see what each one costs.