Rust
57 posts

Const Generics: This Rust Feature Cut Our Code by 85%
From 8,347 lines to 1,243 lines — the rebirth of a cryptography library

Xiao Li Rewrote Go Monolith to Rust Axum, Company Saved $800K+ Yearly, His Salary Hit $2M
This isn’t a story about flexing how fast Rust is. It’s about how tech choices translate to real money, and why most rewrite projects can’t replicate this result.

The Rust Async Trap Everyone Steps On Once
It compiles. It runs. It even passes stress tests… until production catches fire. Let’s talk about that classic async Rust pitfall everyone hits.

Rust Design Patterns: 3 Best Practices Senior Backend Engineers Always Use
Discover the Rust design patterns senior engineers swear by: Newtype pattern prevents invalid states, ownership design reflects system boundaries, enum error handling makes failures predictable. Master these Rust best practices to build rock-solid backend code and say goodbye to midnight incidents.

I Rewrote Our Python Data Pipeline in Rust: 3 Hours to 4 Minutes, 40x Faster
A real-world case study of rewriting a Python data pipeline with Rust + DuckDB. From 3-hour daily ETL jobs to 4-minute runs, memory usage dropped from 12GB to 600MB, and server costs cut by two-thirds.
Rust Compiler Pipeline Refactor: 35% Faster Build Times, But There's a Catch
Our team’s CI dropped from 42 minutes to 27 minutes just by upgrading the Rust compiler. This journey taught us one thing: performance optimization rewards those who measure, punishes those who guess.

Rust Lifetimes Scare Away 90% of Programmers? One Library Analogy Gets You There in Seconds
Compiler errors got you running? Relax. Rust lifetimes aren’t scary monsters—they’re invisible guardians ensuring your code never crashes. This 5-minute guide beats the official docs.

Rust Performance Pitfalls: When Rust Runs Slower Than Python
Rust performance optimization in practice: I watched my Rust rewrite get crushed by Python. The problem was data structure choice.
open-coreui: Turning Open WebUI into a Rust food truck
open-coreui is a lite rewrite of Open WebUI v0.6.32: original frontend, rust/actix-web backend, single-binary deployment without Docker/Python/Postgres/Redis.

From 800ms to 90ms: How Rust Rayon Saved My Multithreading Nightmare
A real Rust concurrency case study: replacing manual threads with Rayon’s work-stealing scheduler and getting a 9x speedup.