6 posts with tag Rust
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.
· 12 minutes reading time
Entering the Battlesnake arena
It's an online game where programs play against each other. My program needs survival strategies!
· 14 minutes reading time
Text scrambler
A text is still readable if you re-arrange the letters of every word, but leave the first and last character in place.
· 4 minutes reading time
Working with Rust's num-bigint
Rust is my new programming language project. A problem called for big integers, so my fight with the crate num-bigint began.
· 4 minutes reading time
Cumulative standard normal distribution
Easy calculation of probabilities using a computed z-table.
· 2 minutes reading time