Login
Discover
Waves
Communities
Raidstead
Write
Login
Signup
Topics
#
rust
Explore topics
#rust
Global
Trending
Hot
New
Payout
Muted
Promoted
#rust
New
#rust
Follow to get notified about new posts with this tag
Get #rust by email
Follow
scipio
StemSocial
2M
Learn Rust Series (#36) - Cow: Clone-on-Write for Borrow-or-Own APIs
Learn Rust Series (#36) - Cow: Clone-on-Write for Borrow-or-Own APIs What will I learn You will learn what Cow<'a, B> is: a smart pointer that is either borrowed or owned, and lets you defer that
$ 0.985
17
1
scipio
StemSocial
2M
Learn Rust Series (#35) - Weak References & Breaking Reference Cycles
Learn Rust Series (#35) - Weak References & Breaking Reference Cycles What will I learn You will learn how a reference cycle causes Rc and Arc to leak memory, even in safe Rust; what a Weak<T>
$ 0.601
23
1
scipio
StemSocial
2M
Learn Rust Series (#34) - Arc: Thread-Safe Reference Counting & Its Cost
Learn Rust Series (#34) - Arc: Thread-Safe Reference Counting & Its Cost What will I learn You will learn how Arc<T> differs from Rc<T>: identical shape and methods, but the reference counts
scipio
StemSocial
2M
Learn Rust Series (#33) - Rc Internals: Reference Counting & Shared Ownership
Learn Rust Series (#33) - Rc Internals: Reference Counting & Shared Ownership What will I learn You will learn how Rc<T> is laid out in memory: a single heap allocation holding your value next
scipio
StemSocial
2M
Learn Rust Series (#32) - Interior Mutability: Cell & RefCell
Learn Rust Series (#32) - Interior Mutability: Cell & RefCell What will I learn You will learn what interior mutability is, and how it bends Rust's "shared means read-only" rule without breaking
scipio
StemSocial
2M
Learn Rust Series (#31) - Move Semantics Deep Dive
Learn Rust Series (#31) - Move Semantics Deep Dive What will I learn You will learn exactly what a move is at the machine level, and why it is cheap no matter how big the data; precisely when a value moves
tonyz
Photography Lovers
2M
Chain.
As seen in a Fishing Port in Bretagne.
scipio
StemSocial
2M
Learn Rust Series (#30) - Mini Project: A Generic Units-of-Measure Library
Learn Rust Series (#30) - Mini Project: A Generic Units-of-Measure Library What will I learn You will learn how to build a small units library where adding metres to seconds does not compile; how a phantom
scipio
StemSocial
2M
Learn Rust Series (#29) - Typestate Programming: State Machines in the Type System
Learn Rust Series (#29) - Typestate Programming: State Machines in the Type System What will I learn You will learn what typestate programming is: encoding an object's current state into its type; how
scipio
StemSocial
2M
Learn Rust Series (#28) - Sealed Traits & Designing Stable APIs
Learn Rust Series (#28) - Sealed Traits & Designing Stable APIs What will I learn You will learn why a public trait that anyone can implement quietly ties your hands and makes your library hard to
scipio
StemSocial
2M
Learn Rust Series (#27) - Generic Associated Types & Lending Iterators
Learn Rust Series (#27) - Generic Associated Types & Lending Iterators What will I learn You will learn what a generic associated type (GAT) is: an associated type that itself takes parameters, most
scipio
StemSocial
2M
Learn Rust Series (#26) - Const Generics: Types That Depend on Values
Learn Rust Series (#26) - Const Generics: Types That Depend on Values What will I learn You will learn what const generics are: type parameters that are values, not types; how they let a single function
scipio
StemSocial
2M
Learn Rust Series (#25) - Marker Traits: Sized, Send, Sync & Copy
Learn Rust Series (#25) - Marker Traits: Sized, Send, Sync & Copy What will I learn You will learn what a marker trait is: a trait with no methods that exists purely to tell the compiler a fact about
scipio
StemSocial
2M
Learn Rust Series (#24) - Blanket Implementations & the Newtype Pattern
Learn Rust Series (#24) - Blanket Implementations & the Newtype Pattern What will I learn You will learn what a blanket implementation is and how it implements a trait for a whole family of types at
scipio
StemSocial
2M
Learn Rust Series (#23) - The Orphan Rule & Trait Coherence
Learn Rust Series (#23) - The Orphan Rule & Trait Coherence What will I learn You will learn the orphan rule: that you may implement a trait for a type only when you own the trait or the type; what
scipio
StemSocial
3M
Learn Rust Series (#22) - Deriving Common Traits
Learn Rust Series (#22) - Deriving Common Traits What will I learn You will learn what the #[derive(...)] attribute does and how it auto-implements common traits; what each of Debug, Clone, Copy, PartialEq,
scipio
StemSocial
3M
Learn Rust Series (#21) - From, Into, TryFrom & Idiomatic Conversions
Learn Rust Series (#21) - From, Into, TryFrom & Idiomatic Conversions What will I learn You will learn how From and Into express infallible conversions, and why implementing From hands you Into for
scipio
StemSocial
3M
Learn Rust Series (#20) - Drop & Deterministic Destruction (RAII)
Learn Rust Series (#20) - Drop & Deterministic Destruction (RAII) What will I learn You will learn how the Drop trait runs cleanup code automatically when a value goes out of scope; what RAII means
scipio
StemSocial
3M
Learn Rust Series (#19) - Deref, DerefMut & Deref Coercion
Learn Rust Series (#19) - Deref, DerefMut & Deref Coercion What will I learn You will learn how the Deref trait makes a type behave like a reference to another type; how deref coercion silently converts
scipio
StemSocial
3M
Learn Rust Series (#18) - Operator Overloading with std::ops
Learn Rust Series (#18) - Operator Overloading with std::ops What will I learn You will learn how operators like +, *, and [] are really just traits living in std::ops; how to implement Add for your own
← Latest
Older →
Discover communities
Explore communities
Create your community