Rust Lifetimes

A lifetime annotation 'a does not make a value live longer. It is a contract stating which input a returned reference borrows from, and the borrow checker combines that contract with each reference’s last use to compute borrow regions. The fourth post in a Rust study series.

November 14, 2026 · 11 min read

Rust References and Borrowing

A Rust reference borrows a value without taking ownership. The compiler allows many shared references &T or a single mutable reference &mut T at a time, rejecting code that changes a borrowed value, and it also rejects references that would outlive their owner, all at compile time. The third post in a Rust study series.

October 29, 2026 · 13 min read

Rust Move, Copy, and Clone

In Rust, assignment and passing a function argument move ownership by default. Only Copy types are bitwise-copied and leave the original usable, and the cost of duplicating heap data shows up in the code as a clone() call. The second post in a Rust study series.

October 15, 2026 · 11 min read

Rust Ownership and Freeing Memory

Rust has no garbage collector. Every value has a single owner, and the value is dropped where that owner’s scope ends. Because the drop point is fixed by scopes in the source code, files and locks are cleaned up by the same rule as memory. The first post in a Rust study series.

October 8, 2026 · 9 min read

rust-server

A record of implementing the multithreaded HTTP server from Rust Book Chapter 20, experiencing how ownership and concurrency safety are enforced at the type level.

March 13, 2022 · 4 min read