Rust Ownership and Lifetimes Explained: Clear Examples

Demystify Rust’s ownership and lifetimes with a step-by-step, stack-first model. See how variables move and borrow across function calls, why the borrow checker complains, and how to resolve errors using references, moves, and explicit lifetimes through clear, practical examples.

August 8, 2025 · 11 min · Garry Chen

Build SQL Query Engine in Rust: CSV Parser with Python Bindings

Build a production-ready SQL query engine in Rust with just 375 lines of code. Learn to parse SQL with custom dialects, convert AST between SQL and DataFrame operations, query CSV files from URLs, implement trait-based architecture for extensibility, and create Python bindings with PyO3. This advanced tutorial covers lifetimes, macros, pattern matching, and cross-language interoperability while building a real-world data processing tool.

August 6, 2025 · 24 min · Garry Chen

Build Image Server in Rust: Thumbor Clone with 300 Lines

Build a production-ready image processing server by recreating Thumbor in Rust with only 300 lines of code. Learn to implement dynamic image transformations including resizing, cropping, watermarking, and filters. Discover protobuf for extensible APIs, LRU caching for performance, async web server with Axum, and trait-based architecture for scalability. A comprehensive tutorial demonstrating Rust’s power for real-world web services.

August 3, 2025 · 21 min · Garry Chen

Build HTTPie Clone in Rust: CLI Tool with 139 Lines of Code

Build a production-ready CLI tool by recreating HTTPie in Rust with just 139 lines of code. Learn command-line parsing with clap, async HTTP requests with reqwest, input validation, error handling, and beautiful terminal output. This hands-on tutorial demonstrates Rust’s power for building real-world applications with clean, maintainable code and comprehensive testing.

August 1, 2025 · 10 min · Garry Chen

Rust Web Scraper Tutorial: HTTP Requests & Markdown Conversion

Get hands dirty with Rust by building a practical web scraper from scratch. Learn to make HTTP requests with reqwest, convert HTML to Markdown, and handle file operations. This beginner-friendly tutorial covers essential Rust syntax, project setup with Cargo, and real-world application development while building a useful tool.

July 28, 2025 · 14 min · Garry Chen