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
1M
Learn Rust Series (#55) - Benchmarking with Criterion and Reading the Numbers
Learn Rust Series (#55) - Benchmarking with Criterion and Reading the Numbers What will I learn You will learn why naive benchmarking with a single Instant measurement lies to you; what criterion does:
$ 0.554
27
1
scipio
StemSocial
1M
Learn Rust Series (#54) - Fuzzing with cargo-fuzz and libFuzzer
Learn Rust Series (#54) - Fuzzing with cargo-fuzz and libFuzzer What will I learn You will learn what fuzzing is, and how it differs from property testing; how a fuzz target is just a function that takes
$ 0.916
20
1
1
scipio
StemSocial
1M
Learn Rust Series (#53) - Property-Based Testing with proptest
Learn Rust Series (#53) - Property-Based Testing with proptest What will I learn You will learn the difference between example-based tests and property-based tests; how a property describes what must hold
scipio
StemSocial
2M
Learn Rust Series (#52) - Testing: Unit Tests, Integration Tests, and Doctests
Learn Rust Series (#52) - Testing: Unit Tests, Integration Tests, and Doctests What will I learn You will learn how Rust builds testing into the language and cargo, with no external framework to pick or
scipio
StemSocial
2M
Learn Rust Series (#51) - Panics, Unwinding, abort, and catch_unwind
Learn Rust Series (#51) - Panics, Unwinding, abort, and catch_unwind What will I learn You will learn what a panic is and how it differs from a recoverable Result error; what happens during unwinding,
scipio
StemSocial
2M
Learn Rust Series (#50) - anyhow: Flexible Application-Level Errors & Context
Learn Rust Series (#50) - anyhow: Flexible Application-Level Errors & Context What will I learn You will learn how the anyhow crate handles errors in application code with almost no ceremony; how
scipio
StemSocial
2M
Learn Rust Series (#49) - thiserror: Ergonomic Library Errors
Learn Rust Series (#49) - thiserror: Ergonomic Library Errors What will I learn You will learn how the thiserror crate generates error boilerplate from a few attributes; how #[derive(Error)] and
scipio
StemSocial
2M
Learn Rust Series (#48) - Custom Error Types & the std::error::Error Trait
Learn Rust Series (#48) - Custom Error Types & the std::error::Error Trait What will I learn You will learn how to design a custom error type as an enum of failure cases; how to implement Display for
scipio
StemSocial
2M
Learn Rust Series (#47) - Option Combinators & Null-Free Programming
Learn Rust Series (#47) - Option Combinators & Null-Free Programming What will I learn You will learn how to transform and chain Option values without writing a single match; how map, and_then, and
scipio
StemSocial
2M
Learn Rust Series (#46) - Result Combinators: map, map_err, and_then, ok_or
Learn Rust Series (#46) - Result Combinators: map, map_err, and_then, ok_or What will I learn You will learn how to transform a Result without writing a match at every step; how map and map_err change
scipio
StemSocial
2M
Learn Rust Series (#45) - Mini Project: A Doubly-Linked List, Safe then Unsafe
Learn Rust Series (#45) - Mini Project: A Doubly-Linked List, Safe then Unsafe What will I learn You will learn why a doubly-linked list is famously awkward to build in safe Rust; how to build a working
scipio
StemSocial
2M
Learn Rust Series (#44) - Higher-Ranked Trait Bounds & Lifetime Elision
Learn Rust Series (#44) - Higher-Ranked Trait Bounds & Lifetime Elision What will I learn You will learn what a higher-ranked trait bound is and how for<'a> expresses "for every lifetime";
scipio
StemSocial
2M
Learn Rust Series (#43) - std::mem: swap, replace, take & forget
Learn Rust Series (#43) - std::mem: swap, replace, take & forget What will I learn You will learn why you cannot simply move a value out of a &mut, and what to do instead; how std::mem::swap exchanges
scipio
StemSocial
2M
Learn Rust Series (#42) - Drop Order, the Drop Check & Leak Safety
Learn Rust Series (#42) - Drop Order, the Drop Check & Leak Safety What will I learn You will learn the exact order values and struct fields are dropped in; what the drop check is, and why a type with
hellsveiah
Photography Lovers
2M
Published via Ecency
Snapshots - A Closer Look - Rust, Texture & Peeling Paint
Greetings!
scipio
StemSocial
2M
Learn Rust Series (#41) - Building Your Own Smart Pointer
Learn Rust Series (#41) - Building Your Own Smart Pointer What will I learn You will learn how to build a smart pointer from scratch by combining Deref, DerefMut and Drop; how a real reference-counted
scipio
StemSocial
2M
Learn Rust Series (#40) - Arena & Bump Allocation Patterns
Learn Rust Series (#40) - Arena & Bump Allocation Patterns What will I learn You will learn what arena and bump allocation are, and why they are so fast; how allocating many values together and freeing
scipio
StemSocial
2M
Learn Rust Series (#39) - Variance: Covariance, Contravariance & Why It Matters
Learn Rust Series (#39) - Variance: Covariance, Contravariance & Why It Matters What will I learn You will learn what lifetime subtyping is, and why a longer lifetime can stand in for a shorter one;
scipio
StemSocial
2M
Learn Rust Series (#38) - PhantomData, Zero-Sized Types & Marker Lifetimes
Learn Rust Series (#38) - PhantomData, Zero-Sized Types & Marker Lifetimes What will I learn You will learn what a zero-sized type is and why it occupies no memory at all; what PhantomData<T>
scipio
StemSocial
2M
Learn Rust Series (#37) - Pin & Self-Referential Structs
Learn Rust Series (#37) - Pin & Self-Referential Structs What will I learn You will learn why a struct that holds a pointer into its own data breaks the moment it is moved; what Pin<P> actually
← Latest
Older →
Discover communities
Explore communities
Create your community