rust
4 articles tagged rust.
-
Rust Pin and Unpin Explained
How Rust uses Pin and Unpin to keep self-referential values and async futures at a stable memory address.
-
Rust Monomorphization and Static Dispatch
How Rust generates type-specific code for generics, and why that improves call performance while increasing build time and binary size.
-
Rust Pin and Unpin for Self-Referential Futures
How Rust’s Pin and Unpin types keep asynchronous state machines at stable addresses when futures contain references to their own data.
-
Rust Pin, Unpin, and Safe Projection
Understand how Rust keeps futures and self-referential values at stable addresses, and how Pin, Unpin, and projection preserve that guarantee safely.