8 posts with tag Rust
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
Text scrambler
A text is still readable if you rearrange the letters of every word, but leave the first and last character in place.
· 4 minutes reading time