Skip to content
rusthacks.dev
Topic

Rust

The language itself: ownership, lifetimes, error handling, Serde and the idioms that make the borrow checker feel like help.

Flat illustration for the post “Handling Database Timeouts and Retries in Rust Services”, composed around database.
Databases

Handling Database Timeouts and Retries in Rust Services

Set acquire, connect and statement timeouts, tell transient errors from permanent ones, retry only what is safe with backoff and jitter, and keep a retry from doubling a write. SQLx and PostgreSQL examples.

4 min read
Flat illustration for the post “Why Rust Has No Garbage Collector and What It Uses Instead”, composed around ownership.
Systems

Why Rust Has No Garbage Collector and What It Uses Instead

Rust frees memory at compile-time-determined points using ownership and Drop, not a runtime collector. See what that buys in predictability and footprint, what it costs in design effort, and where reference counting fills the gap.

3 min read

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.