Rust
57 posts

io_uring Guide: Building High-Performance Servers with Rust and Async IO
A friendly deep-dive into Linux io_uring async IO technology, learn how to build high-performance servers with Rust and escape syscall bottlenecks
Rust mmap Memory-Mapped I/O: Why Reading Files Can Be as Fast as Accessing Memory
A plain-English guide to Rust mmap memory-mapped I/O. Why is it 5-10x faster than traditional Rust file reading? How does zero-copy achieve Rust performance optimization? This memmap2 hands-on tutorial uses real-life analogies to help you understand this seemingly mysterious low-level technology.

Pop!_OS 24.04 is Here: The World's First Rust-Built Desktop Environment
System76 releases Pop!_OS 24.04 and COSMIC desktop environment - the first production-grade desktop environment written entirely in Rust, challenging 20 years of GTK/Qt dominance. In-depth review: performance, customization, and tiling window management

Rust 1.90 Upgrade Crash Report: My Codebase Didn't Make It
Performance tanked after upgrading to Rust 1.90? Here’s why and how to claw it back.
Running Rust Async on Windows? Meet the Little Devil in the Closet: Device Afd
Why does Rust async work on Windows? Unveiling Microsoft’s undocumented AFD driver with real-world analogies to understand Windows async programming under the hood

Rust Smart Contracts #6: Storage Patterns in ink! You Can Actually Maintain
Stop dumping everything into one big storage struct. Learn the core storage patterns in ink!—single values, mappings, many-to-many relations, and lazy configs—so your contracts stay readable, cheap to run, and easy to extend.
ink! Smart Contract Access Control: from only_owner to Role Permissions #5
Use a kitchen‑door analogy to explain env().caller(), only_owner checks, Result‑based errors, and role mappings in ink!, with minimal runnable examples so beginners can copy, run, and ship safer contracts.
2025 Rust Design Patterns Speedrun: Ten Snippets You Can Ship Today
Master ten Rust design patterns with beginner-friendly explanations, runnable code, and SEO-ready takeaways so your next project stays safe, modular, and easy to extend.

Test ink! Contracts the Practical Way: Unit tests and a tiny e2e for beginners #4
Minimal runnable examples to test Rust + ink!: from #[ink::test] off-chain unit tests to a small e2e. Includes setup, full code, typical pitfalls, and fixes.

Stop Panicking on Failure: Production‑Ready ink! Events & Error Handling
Beginner‑friendly, production‑oriented ink! walkthrough: emit events for observability, return typed errors instead of panics, and ship with a minimal runnable example plus test assertions.