Claude Code Agent Loop: Restaurant Kitchen Assembly Line

Agent Loop——How Does an AI's "Brain" Work?

Deep dive into Claude Code’s core Agent Loop: the complete lifecycle from user input to model response. Unveiling the query.ts state machine, tool execution orchestration, and continuation decision logic to understand how the AI coding assistant “thinks” and “acts.”

April 18, 2026 · 8 min · 1599 words · Monster Programming
Rust Enum Complete Guide Cover

Don't Underestimate Rust Enums: A Complete Hands-On Guide

Rust enums are far more than a set of constants. They carry data, drive state machines, replace null, and unify error handling. This guide walks you from basics to recursive enums with real code examples.

February 15, 2026 · 9 min · 1881 words · Rex Programming
Rust async is compiled into a state machine and driven by Future, poll, and Waker

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.

August 10, 2025 · 4 min · 770 words · Rexai Programming
High‑value AI Toolkit Less than a coffee/month →
扫码关注公众号
微信公众号二维码

Weekly Rust / AI tips · Community Q&A · Exclusive perks