Refined Types in Rust: Parse, Don't ValidateNote: This post was originally published on Entropic Drift. The String Problem How many times have you seen function signatures like this? fn send_email(to: String, subject: String, body: String) -> Result<(), Error>; fn create_user(email: String, ...Dec 28, 2025 · 8 min readentropicdrift.hashnode.dev
Stillwater 1.0: Pragmatic Effect Composition and Validation for RustNote: This post was originally published on Entropic Drift. I'm proud to announce the release of stillwater 1.0, a production-ready Rust library for pragmatic effect composition and validation. What is Stillwater? Stillwater implements the pure core...Dec 24, 2025 · 9 min readentropicdrift.hashnode.dev
Compile-Time Resource Tracking in Rust: From Runtime Brackets to Type-Level SafetyNote: This post was originally published on Entropic Drift. The Problem: Runtime Resource Leaks Resource leaks are insidious. A forgotten close(), a missing commit(), an exception path that skips cleanup. Your code compiles. It runs. It even works u...Dec 20, 2025 · 7 min readentropicdrift.hashnode.dev
Refactoring a God Object Detector That Was Itself a God ObjectNote: This post was originally published on Entropic Drift. The Irony My code analysis tool debtmap has a god object detector. It scans Rust codebases looking for structs with too many methods, too many fields, and too many responsibilities. When it...Dec 9, 2025 · 15 min readentropicdrift.hashnode.dev
Stillwater Validation for Rustaceans: Accumulating Errors Instead of Failing FastNote: This post was originally published on Entropic Drift. The Problem with Result for Validation Most Rust validation code follows a familiar pattern: when a user submits a form with three errors, the API reports only the first one. They fix it, r...Dec 4, 2025 · 9 min readentropicdrift.hashnode.dev