Programming tutorials
Stop mixing up meters and feet. Learn how to use Rust's PhantomData to create zero-cost, type-safe unit wrappers that prevent logic bugs at compile time.
Streamline your Rust error handling. Learn the differences between the thiserror and anyhow crates and when to apply them in your libraries and applications.
Learn how to use the Newtype pattern in Rust to eliminate primitive obsession, prevent bugs, and create zero-cost abstractions for your domain models.
Learn how Rust's zero-cost abstractions, specifically iterators, allow you to write expressive code that compiles down to high-performance assembly.
Learn how to use Rust's Cow (Copy-on-Write) smart pointer to optimize memory usage and reduce unnecessary allocations in your performance-critical applications.