Rust
57 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.

Rust Makes Qwen LLM Models Blazing Fast Again: 6x Speed Tokenizer Black Magic
bpe-qwen: BPE tokenization core rewritten in Rust for Qwen models, tested at 6x–12x speedup with HuggingFace API compatibility. One-line replacement to accelerate your inference pipeline.

Rust Distributed Task Queues: Making Results Find Their Way Home
Learn how to build a distributed task queue system in Rust with intelligent result routing. Complete code examples to master cross-node task distribution and result tracking.

When My Fitness App Was Lagging Like a Slideshow, Rust Came to the Rescue
React Native makes cross-platform app development easy, but complex calculations can be a headache? Here’s how I used Rust to solve performance bottlenecks

Rust 1.90: The Update Developers Have Been Begging For
If Rust build times have ever ruined your coding flow, this release fixes what matters most

Reliable Node Communication with Channels + Per-Peer Task Pattern: Say Goodbye to Message Loss
Learn how to build reliable, scalable WebSocket communication using Rust’s channels and per-peer task pattern, completely solving concurrency issues and message loss problems

Build Your Own Mini Actor Framework: Run Concurrency Like a Coffee Shop
A hands-on guide to building a usable mini Actor framework in Rust from scratch: Actor, Addr, spawn, supervise, a simple registry, message passing, and HTTP interaction.
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 Axum Graceful Shutdown, The Ultimate Guide: Fix the pitfall 99% of engineers hit
Master graceful shutdown for Rust Axum services: listen for SIGINT/SIGTERM, refuse new connections with with_graceful_shutdown, stop background tasks via CancellationToken, set timeouts, and integrate with Docker/Kubernetes termination — protect data integrity and user experience.

Rust + Axum, from zero to hero: build a high‑performance Web server the LEGO way
A step‑by‑step Axum guide to build a modern high‑performance Web service: routing, path and query parameters, JSON, shared state, and middleware (tracing, CORS) with complete code samples and best practices.