Tutorials
71 posts

Rust Macros 2.0 Starter Guide: Build Code Like Lego
A panoramic Rust Macros 2.0 guide: unify macro namespaces, master the TokenStream pipeline and macro hygiene, and migrate from macro 1.0 to macro 2.0 metaprogramming with practical examples.
Skill Seeker: Turn Docs Into Claude-Ready Skill Packs (Hands-on Guide)
Stop slogging through docs: convert any framework site into a Claude skill pack in minutes. Practical workflow covering CrewAI, AutoGen, LangGraph and more.
OpenSpec Installation and Project Initialization Guide
How to install and run OpenSpec for this repository and your team: npx (no install), global install, binary/internal distribution, and quick validation steps.

Master OpenSpec in the AI Era: A Practical Guide to SDD (Spec‑Driven Development)
A hands-on, SEO-friendly primer on Spec‑Driven Development with OpenSpec: change proposals, specs, tasks, validation, and release — plus a 10‑minute quickstart and best practices.

I Slimmed a Docker Image from 2GB to 50MB: A Hands-on Postmortem
The real steps and trade-offs I took to cut a Docker image from 2GB down to 50MB — pitfalls, decisions, and practical takeaways without the fluff.
Rust + Axum Async Microservice Guide: Job Queue, Retries, and Graceful Shutdown
Build a production-ready async microservice with Rust and Axum: job queue, background workers, exponential backoff retries, and graceful shutdown. Includes full project structure and Docker example.
Rust unsafe isn’t a toy — it’s a blood oath: 6 YOLO mistakes that will blow up your code
Don’t treat unsafe like a get-out-of-jail-free card. With practical examples, this article dissects 6 common unsafe pitfalls: silencing the compiler with duct tape, dereferencing random raw pointers, violating borrow rules inside unsafe, reinventing wheels, abusing unsafe impl, and skipping Safety comments — helping you build the right risk mindset and usage patterns.

Rust Async State Machine, Unmasked: How Future, poll, and Waker Really Work
A practical deep dive into Rust async: why calling an async function doesn’t run it, how the compiler turns async into a state machine, and how executors drive tasks forward with poll and Waker. Understand the real mechanics behind async/await.

Why Rust Makes C++ Programmers Lose Sleep at Night: Lessons from My Migration Journey
A C++ developer with 5 years of experience shares real insights from switching to Rust. From memory safety to concurrency, these 10 features completely changed my perspective on systems programming

Rust File Distribution & Hot Reload: Managing Your Code Like a Delivery Network Pro
Learn Rust file distribution, config synchronization, and hot code reloading through vivid delivery service analogies - manage code deployment like running a delivery empire
