Declarative Macros in Rust
A guide to understanding and writing declarative macros in Rust using the `macro_rules!` system, from basic definitions to repetition and designators.
A guide to understanding and writing declarative macros in Rust using the `macro_rules!` system, from basic definitions to repetition and designators.
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.
A guide to understanding and using trait objects in Rust for dynamic polymorphism, including the trade-offs between static and dynamic dispatch.
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.
Learn how to create and manage native OS threads in Rust for concurrent programming using std::thread::spawn and JoinHandles.
Discover how to use message-passing channels in Rust for safe communication between threads, following the 'do not communicate by sharing memory' principle.