Advanced Types in Rust
An exploration of Rust's advanced type system features, including the newtype pattern, type aliases, the never type (!), dynamically sized types (DSTs), and function pointers.
An exploration of Rust's advanced type system features, including the newtype pattern, type aliases, the never type (!), dynamically sized types (DSTs), and function pointers.
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 detailed reference guide to the various syntaxes available for pattern matching in Rust, from literals and ranges to destructuring, guards, and `@` bindings.
A comprehensive guide to patterns and pattern matching in Rust, covering everything from `match` statements and `if let` to destructuring, guards, and `@` bindings.
An in-depth guide to writing procedural macros in Rust, covering custom derive, attribute-like, and function-like macros using the `syn` and `quote` crates.
A guide to implementing the State design pattern in Rust, showing both a traditional OOP approach with trait objects and a more idiomatic Rust approach using enums.
An introduction to the `unsafe` keyword in Rust, what it allows you to do, and why it's necessary for certain low-level programming tasks.
A guide to using iterators in Rust, covering the Iterator trait, consuming and producing iterators, and creating custom ones.
An exploration of how Rust handles Object-Oriented Programming concepts like encapsulation, inheritance, and polymorphism using its own unique features like structs, enums, and …
An explanation of how reference cycles can cause memory leaks in Rust when using Rc<T> and how to prevent them with Weak<T>.