Cuong Le
Subscribe
Sign in
Home
Archive
About
Inside Rust's std and parking_lot mutexes - who wins?
A teardown of Rust's mutex internals plus real benchmarks so you know when to choose std or parking_lot.
Oct 30
•
Cuong Le
21
2
September 2025
Level Up your Rust pattern matching
Rust’s pattern matching feels simple enough: match on enums, destructure tuples, handle Option and Result.
Sep 29
•
Cuong Le
29
1
The Hidden Rules Behind Rust Functions & Closures
Demystifying fn, Fn, FnMut, and FnOnce from everyday usage to compiler magic under the hood
Sep 10
•
Cuong Le
16
1
August 2025
If you aren't amazed by Rust enum, you don't know its power
Every time I explain Rust's enums to someone new, I get the same reaction: "Wait… enums can do that?"
Aug 27
•
Cuong Le
15
Constructor Best Practices in Rust
Constructor patterns every serious Rustacean should master to stop looking like a beginner.
Aug 18
•
Cuong Le
16
6
1
This Send/Sync Secret Separates Professional From Amateur Rust Developers
2 Months of Banging My Head Against Send/Sync, Explained in One Coffee Break
Aug 6
•
Cuong Le
20
15
2
July 2025
Unlock 100% Coverage - Mock Your Rust Unit Tests the Right Way
The essential mocking pattern every Rustacean should keep in their toolbox.
Jul 26
•
Cuong Le
3
String vs str in Rust: The Only Guide You'll Ever Need
Never Be Confused by String and str Again
Jul 19
•
Cuong Le
8
4
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts