梦兽编程
AI_SUITE

[ SECTION / LANGUAGES ]

Rust

Rust systems programming, async, and engineering practice.
66 POSTS
01 LANGUAGES / 2026.08.11 / 12 MIN Rust Officially Sets Rules for AI Coding: LLM-Written PRs Must Ship Tests, Merges Circuit-Break at 50% On August 5, 2026, five Rust teams adopted an LLM usage policy for rust-lang/rust: AI-created code can land in the compiler, but only with disclosure, mandatory tests, … 02 LANGUAGES / 2026.08.10 / 12 MIN One if Made This Rust Filter 4x Slower: The CPU Was Guessing for You Filtering 1M floats: why is keeping half the slowest case? I reproduced the HN-top branch-prediction experiment on Windows (i5-12400F, rustc 1.97.1): a branchless rewrite … 03 LANGUAGES / 2026.08.07 / 5 MIN Rust 1.97.1 Emergency Fix: A Compiler Miscompilation Has Been Silently Crashing Programs Since 1.87 Rust 1.97.1 ships an emergency fix for a long-dormant LLVM miscompilation: 1.97.0 changed Option::None's stored tag from 2 to -1, which triggered a trunc nuw … 04 LANGUAGES / 2026.08.04 / 8 MIN Debugging Rust in VS Code: A Complete launch.json Guide with Windows Measurements Set up Rust debugging in VS Code: rustup's rust-lldb is not applicable to Windows MSVC; configure CodeLLDB and launch.json, then troubleshoot breakpoints. 05 LANGUAGES / 2026.08.04 / 11 MIN Your 8,000-Line Rust Project Made rust-analyzer Index 2.5M Dependency Lines Why rust-analyzer feels slow: a small Rust project can trigger gigabytes of dependency analysis. Includes three tuning levels and their trade-offs. 06 LANGUAGES / 2026.07.13 / 5 MIN Building a B+Tree in Rust: What I Got Wrong Before Getting It Right A walkthrough of design mistakes I made implementing a B+Tree in Rust — from treating all nodes as in-memory pointers to understanding database pages, buffer pools, and … 07 LANGUAGES / 2026.07.02 / 11 MIN Building AI Agents in Rust (Part 5): Multi-Agent Crews Part 5 covers multi-agent collaboration: when to add agents and when not to. The Agent trait, Crew parallel/sequential dispatch, Router, debate protocol, and composing … 08 LANGUAGES / 2026.07.02 / 14 MIN Building AI Agents in Rust (Part 4): State Machines for Multi-Step Tasks Part 4 introduces state machines for multi-step tasks: Node trait, Graph runner, SQLite checkpointing, Interrupt suspend/resume, PermissionMode gates, and NodeHook … 09 LANGUAGES / 2026.07.02 / 14 MIN Building AI Agents in Rust (Part 3): Refactoring Tools into a Skill Registry with Traits Part 3 replaces the Part 1 match dispatcher with a Rust trait system: Skill, Registry, DynSkill, schemars-generated JSON Schema, parallel calls, error classification, … 10 LANGUAGES / 2026.07.01 / 12 MIN Building AI Agents in Rust — Part 2: Structured Prompt Architecture and the Cache Boundary Following Part 1's tool-calling loop, Part 2 dives into Agent system prompt architecture: Identity, Instructions, Output, Examples, and Context layers, plus Anthropic …