Rust
38 posts

Stop treating tokio::spawn as a thread! I launched 1000 tasks in 2 seconds and the system stayed calm
tokio::spawn is not a thread but a lightweight task. Under Tokio’s scheduler you build highly concurrent services with sleep, timeout and select — 1000 tasks in 2 seconds with negligible overhead.

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.

Rust 1.89: Intel Macs demoted to Tier 2, clearer lifetimes, and new x86 intrinsics
Rust 1.89 demotes x86_64-apple-darwin (Intel Mac) from Tier 1 to Tier 2, adds the mismatched_lifetime_syntaxes lint, constant generics ‘_’ inference, and a wave of new x86 intrinsics.

Rust Cluster Commands: Managing Distributed Systems Like Conducting an Orchestra
Learn how to implement cluster-level control commands in Rust distributed actor systems, making node management as elegant as conducting a symphony
I Told Old Zhang His Rust Service Might Be 10x Slower - He Almost Spit Coffee in My Face
Rust service suddenly 10x slower? The problem might be hiding in Serde macros. This article walks through a real story to help you identify and fix performance issues caused by Serde serialization.

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
Rust Async Unveiled: The Secret to Making Code 'Slack Off' While Doubling Efficiency!
Deep dive into Rust async programming core concepts, from async/await to Future, from tokio runtime to concurrent processing. Master zero-cost async programming essence and double your Rust code efficiency!