9 posts with tag Rust

Why I built Heine

A Rust static site generator that treats a website as a resolved graph of relationships, and the build validates that graph before producing files.

· 5 minutes reading time

A Lesson from a Zola Patch

A small parsing fix led me into years of Zola math discussions and changed how I think about contributing upstream.

· 14 minutes reading time

Trampolines and algebraic Fibonacci in Rust

Rust does not guarantee tail call optimization. We implement a trampoline and discover that Fibonacci is not about numbers at all.

· 4 minutes reading time

Static lifetimes and factories

Some Rust values, particularly string literals, persist beyond their variable's scope, and how this behavior enables factory-like patterns.

· 3 minutes reading time

Internal rate of return calculation

Deconstructing the math of investment: estimate the annualized rate of return with the IRR algorithm and its Rust implementation.

· 10 minutes reading time

Entering the Battlesnake arena

It's an online game where programs play against each other. My program needs survival strategies!

· 12 minutes reading time