Advanced Types in Rust
A complete guide to Rust's advanced type system — newtype pattern, type aliases, the never type, dynamically sized types, Sized and ?Sized, PhantomData, and type-level programming …
A complete guide to Rust's advanced type system — newtype pattern, type aliases, the never type, dynamically sized types, Sized and ?Sized, PhantomData, and type-level programming …
A practical guide to using the Fetch API with async/await in JavaScript to retrieve data from an API and display it on a webpage, including a simple infinite scroll example.
A complete guide to Rust procedural macros — custom derive, attribute-like, and function-like macros using syn and quote, with real-world examples including a Builder derive and a …
A practical guide to unsafe Rust — the five unsafe superpowers, raw pointers, FFI, static mut, unsafe traits, unions, and how to write safe abstractions over unsafe code.
A complete guide to Rust iterators — the Iterator trait, all major adapters, chaining, custom iterators, performance considerations, and common real-world patterns.
How Rust implements OOP concepts — encapsulation via structs and modules, polymorphism via trait objects, composition over inheritance, and how common OOP design patterns translate …
How reference cycles cause memory leaks in Rust's Rc<T>, how to detect them, how to break them with Weak<T>, and patterns for designing cycle-free data structures.
A complete guide to closures in Rust — syntax, capture modes, Fn/FnMut/FnOnce traits, move semantics, returning closures, and real-world patterns with iterators and threads.
A complete guide to Rust traits — defining and implementing traits, default methods, trait bounds, impl Trait, dyn Trait, trait objects, the orphan rule, and common standard …
A complete guide to Rust's standard library collections — Vec, String, HashMap, HashSet, BTreeMap, VecDeque, and BinaryHeap — with practical patterns and performance notes.