<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>常见问题 on 编程那些事儿</title><link>https://before80.github.io/prgms/Rust/q/</link><description>Recent content in 常见问题 on 编程那些事儿</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Tue, 11 Aug 2026 23:57:44 +0800</lastBuildDate><atom:link href="https://before80.github.io/prgms/Rust/q/index.xml" rel="self" type="application/rss+xml"/><item><title>01-安装</title><link>https://before80.github.io/prgms/Rust/q/01-installation/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/01-installation/</guid><description>&lt;h1 id="安装-installation"&gt;安装 (Installation)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会刚装完 Rust，就遇到 &lt;code&gt;rustc&lt;/code&gt; / &lt;code&gt;cargo&lt;/code&gt; 找不到的 PATH 问题？&lt;/li&gt;
&lt;li&gt;你是否想知道：为什么 Rust 推荐 &lt;code&gt;rustup&lt;/code&gt;，而不是像 Go 一样只装一个编译器？&lt;/li&gt;
&lt;li&gt;你是否分不清 Windows 上的 &lt;code&gt;*-msvc&lt;/code&gt; 和 &lt;code&gt;*-gnu&lt;/code&gt;，不知道该选哪个？&lt;/li&gt;
&lt;li&gt;你是否想知道：怎么切换到 &lt;code&gt;stable-x86_64-pc-windows-gnu&lt;/code&gt;、要装 MinGW 吗、日常用什么命令编译？&lt;/li&gt;
&lt;li&gt;你是否担心 &lt;code&gt;*-msvc&lt;/code&gt; 的 Visual Studio / Build Tools 许可与商业使用问题？&lt;/li&gt;
&lt;li&gt;你是否想确认：&lt;code&gt;cargo&lt;/code&gt;、&lt;code&gt;rustc&lt;/code&gt;、&lt;code&gt;rustup&lt;/code&gt;、&lt;code&gt;clippy&lt;/code&gt;、&lt;code&gt;rustfmt&lt;/code&gt; 分别是谁负责什么？&lt;/li&gt;
&lt;li&gt;你会不会在 WSL、Docker、公司代理或离线环境里安装失败，不知道从哪排查？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>02-更新与版本管理</title><link>https://before80.github.io/prgms/Rust/q/02-updating/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/02-updating/</guid><description>&lt;h1 id="更新与版本管理-updating"&gt;更新与版本管理 (Updating)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会把 &lt;code&gt;rustup update&lt;/code&gt; 和 &lt;code&gt;cargo update&lt;/code&gt; 混成一件事？&lt;/li&gt;
&lt;li&gt;你是否想知道：怎么把项目固定在某个 Rust 版本，而不是让大家各用各的？&lt;/li&gt;
&lt;li&gt;你会不会更新了 stable，却发现项目里 &lt;code&gt;rustc --version&lt;/code&gt; 还是老版本？&lt;/li&gt;
&lt;li&gt;你是否分不清 stable / beta / nightly 该在哪些场景用？&lt;/li&gt;
&lt;li&gt;你会不会在升级 edition 或 nightly 日期版时，不知道怎么安全回退？&lt;/li&gt;
&lt;li&gt;本机同时装了 &lt;code&gt;*-msvc&lt;/code&gt; 和 &lt;code&gt;*-gnu&lt;/code&gt; 时，更新到底更新谁？工具链文件该怎么写？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>03-编译</title><link>https://before80.github.io/prgms/Rust/q/03-compilation/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/03-compilation/</guid><description>&lt;h1 id="编译-compilation"&gt;编译 (Compilation)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会分不清 &lt;code&gt;cargo check&lt;/code&gt;、&lt;code&gt;cargo build&lt;/code&gt;、&lt;code&gt;cargo build --release&lt;/code&gt;？&lt;/li&gt;
&lt;li&gt;你是否想知道：Rust 的 debug / release 为什么不只是“快慢不同”，连行为都可能不同？&lt;/li&gt;
&lt;li&gt;你会不会想给编译器传额外参数，却不知道该改 &lt;code&gt;RUSTFLAGS&lt;/code&gt;、profile 还是 target 配置？&lt;/li&gt;
&lt;li&gt;你是否不清楚 feature、target、profile、incremental cache 各自影响哪一层？&lt;/li&gt;
&lt;li&gt;你会不会看到 &lt;code&gt;E0308&lt;/code&gt;、&lt;code&gt;E0382&lt;/code&gt;、链接错误、找不到链接器，却不知道该先查哪里？&lt;/li&gt;
&lt;li&gt;Windows 上用 &lt;code&gt;*-gnu&lt;/code&gt; / &lt;code&gt;*-msvc&lt;/code&gt; 编译时，命令、链接器配置和产物目录有何不同？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>04-运行</title><link>https://before80.github.io/prgms/Rust/q/04-running/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/04-running/</guid><description>&lt;h1 id="运行-running"&gt;运行 (Running)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会刚学 Rust 时不知道 &lt;code&gt;cargo run&lt;/code&gt; 到底帮你做了什么？&lt;/li&gt;
&lt;li&gt;你是否总忘记命令行参数前面的 &lt;code&gt;--&lt;/code&gt;，结果参数被 Cargo 吃掉？&lt;/li&gt;
&lt;li&gt;你会不会分不清程序参数、环境变量、工作目录、退出码分别在哪一层起作用？&lt;/li&gt;
&lt;li&gt;你是否想知道：为什么 debug 跑得好好的，release 下行为却不一样？&lt;/li&gt;
&lt;li&gt;你会不会看到 panic 提示你开 &lt;code&gt;RUST_BACKTRACE=1&lt;/code&gt;，却不清楚它具体能帮你什么？&lt;/li&gt;
&lt;li&gt;Windows 上 &lt;code&gt;*-msvc&lt;/code&gt; / &lt;code&gt;*-gnu&lt;/code&gt; 编出的程序，运行时缺 DLL / 缺运行库该怎么查？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>05-注释与文档</title><link>https://before80.github.io/prgms/Rust/q/05-comments/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/05-comments/</guid><description>&lt;h1 id="注释与文档-comments"&gt;注释与文档 (Comments)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会把 &lt;code&gt;//&lt;/code&gt;、&lt;code&gt;///&lt;/code&gt;、&lt;code&gt;//!&lt;/code&gt; 混用，结果文档位置放错了？&lt;/li&gt;
&lt;li&gt;你是否想知道：Rust 的文档注释为什么还能顺手跑测试？&lt;/li&gt;
&lt;li&gt;你会不会在函数体里写了 &lt;code&gt;///&lt;/code&gt;，然后撞上奇怪的编译错误？&lt;/li&gt;
&lt;li&gt;你是否不清楚 &lt;code&gt;rustdoc&lt;/code&gt;、doctest、属性 &lt;code&gt;#[doc(...)]&lt;/code&gt; 之间是什么关系？&lt;/li&gt;
&lt;li&gt;你会不会在条件编译、私有项文档和文档链接上踩坑？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>06-变量与可变性</title><link>https://before80.github.io/prgms/Rust/q/06-variables/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/06-variables/</guid><description>&lt;h1 id="变量与可变性-variables"&gt;变量与可变性 (Variables)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会刚写 Rust 就被“变量默认不可变”绊住？&lt;/li&gt;
&lt;li&gt;你是否分不清 &lt;code&gt;mut&lt;/code&gt;、shadowing（遮蔽）和“里面的值能不能改”？&lt;/li&gt;
&lt;li&gt;你会不会看到 &lt;code&gt;E0384&lt;/code&gt;、&lt;code&gt;E0596&lt;/code&gt;、&lt;code&gt;E0282&lt;/code&gt;、&lt;code&gt;E0381&lt;/code&gt; 这类错误码时不知道在说哪种变量问题？&lt;/li&gt;
&lt;li&gt;你是否想知道：为什么 Rust 对“先声明、后赋值”“借用何时结束”这么较真？&lt;/li&gt;
&lt;li&gt;你会不会把 Go 里对变量、切片、引用的习惯直接带进 Rust，结果处处撞墙？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>07-常量与静态量</title><link>https://before80.github.io/prgms/Rust/q/07-constants/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/07-constants/</guid><description>&lt;h1 id="常量与静态量-constants"&gt;常量与静态量 (Constants)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会分不清 &lt;code&gt;const&lt;/code&gt; 和 &lt;code&gt;static&lt;/code&gt;，不知道什么时候该用哪一个？&lt;/li&gt;
&lt;li&gt;你是否想知道：为什么有些值能放进常量，有些却只能运行期初始化？&lt;/li&gt;
&lt;li&gt;你会不会看到 &lt;code&gt;const fn&lt;/code&gt;、&lt;code&gt;OnceLock&lt;/code&gt;、&lt;code&gt;LazyLock&lt;/code&gt;、&lt;code&gt;static mut&lt;/code&gt; 后一头雾水？&lt;/li&gt;
&lt;li&gt;你是否不清楚 &lt;code&gt;'static&lt;/code&gt; 生命周期和 &lt;code&gt;static&lt;/code&gt; 关键字是不是一回事？&lt;/li&gt;
&lt;li&gt;你会不会在“全局可变状态”上照搬 Go 惯性，结果写出不安全或不可编译的 Rust？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>08-数据类型</title><link>https://before80.github.io/prgms/Rust/q/08-data-types/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/08-data-types/</guid><description>&lt;h1 id="数据类型-data-types"&gt;数据类型 (Data Types)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会刚写 Rust，就被 &lt;code&gt;i32&lt;/code&gt;、&lt;code&gt;u64&lt;/code&gt;、&lt;code&gt;usize&lt;/code&gt;、&lt;code&gt;char&lt;/code&gt;、&lt;code&gt;()&lt;/code&gt; 这些类型名弄得眼花？&lt;/li&gt;
&lt;li&gt;你是否想知道：Go 里很多地方“编译器帮你凑合”的类型转换，为什么到 Rust 里突然不让了？&lt;/li&gt;
&lt;li&gt;你会不会被 &lt;code&gt;E0282&lt;/code&gt;、&lt;code&gt;E0308&lt;/code&gt;、&lt;code&gt;E0277&lt;/code&gt; 这类类型错误挡住，却不知道该补哪一句类型标注？&lt;/li&gt;
&lt;li&gt;你是否分不清 &lt;code&gt;String&lt;/code&gt;、&lt;code&gt;&amp;amp;str&lt;/code&gt;、&lt;code&gt;char&lt;/code&gt;、字节、切片到底分别代表什么？&lt;/li&gt;
&lt;li&gt;你会不会想当然地把 &lt;code&gt;int&lt;/code&gt;、&lt;code&gt;byte&lt;/code&gt;、&lt;code&gt;rune&lt;/code&gt;、slice 的 Go 习惯直接搬到 Rust，结果越写越别扭？&lt;/li&gt;
&lt;li&gt;你是否需要一份“哪些类型放栈上、哪些只是视图、哪些根本不能单独拿出来用”的速查地图？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>09-函数</title><link>https://before80.github.io/prgms/Rust/q/09-functions/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/09-functions/</guid><description>&lt;h1 id="函数-functions"&gt;函数 (Functions)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会总把 Rust 函数当成 Go 的 &lt;code&gt;func&lt;/code&gt; 来看，结果一写就撞上类型、分号、返回值规则？&lt;/li&gt;
&lt;li&gt;你是否想知道：Rust 为什么没有 Go 那样的“多返回值”语法，却照样能优雅返回多项结果？&lt;/li&gt;
&lt;li&gt;你会不会在“参数传进去以后变量怎么没了”这个问题上，被所有权和借用搞糊涂？&lt;/li&gt;
&lt;li&gt;你是否分不清“函数项、函数指针、闭包”到底是不是一回事，什么时候能互相替代？&lt;/li&gt;
&lt;li&gt;你是否想搞懂泛型函数、&lt;code&gt;impl Trait&lt;/code&gt;、turbofish 到底各自解决什么问题？&lt;/li&gt;
&lt;li&gt;你会不会遇到 &lt;code&gt;E0308&lt;/code&gt;、&lt;code&gt;E0382&lt;/code&gt;、&lt;code&gt;E0277&lt;/code&gt; 这类函数相关报错，却看不出编译器在阻止什么坑？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>10-控制流</title><link>https://before80.github.io/prgms/Rust/q/10-control-flow/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/10-control-flow/</guid><description>&lt;h1 id="控制流-control-flow"&gt;控制流 (Control Flow)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会被 &lt;code&gt;if&lt;/code&gt; 和 &lt;code&gt;match&lt;/code&gt; 当表达式这一点绕晕，不知道什么时候需要 &lt;code&gt;else&lt;/code&gt;？&lt;/li&gt;
&lt;li&gt;你是否想知道：Go 里 &lt;code&gt;if&lt;/code&gt;、&lt;code&gt;switch&lt;/code&gt;、&lt;code&gt;for&lt;/code&gt; 很直观，为什么 Rust 这里多了 &lt;code&gt;if let&lt;/code&gt;、&lt;code&gt;let ... else&lt;/code&gt;、&lt;code&gt;while let&lt;/code&gt;？&lt;/li&gt;
&lt;li&gt;你是否遇到过 &lt;code&gt;error[E0308]&lt;/code&gt;、&lt;code&gt;error[E0004]&lt;/code&gt;，却看不懂它其实是在提醒什么控制流问题？&lt;/li&gt;
&lt;li&gt;你会不会写出&amp;quot;看起来像 Go，实际上把值 move 走了&amp;quot;的 &lt;code&gt;match&lt;/code&gt; 或 &lt;code&gt;for&lt;/code&gt;？&lt;/li&gt;
&lt;li&gt;你是否想搞懂 &lt;code&gt;loop&lt;/code&gt; 为什么能返回值、标签循环又该在什么场景下用？&lt;/li&gt;
&lt;li&gt;你是否希望有一份&amp;quot;我该用 &lt;code&gt;if&lt;/code&gt;、&lt;code&gt;match&lt;/code&gt;、&lt;code&gt;if let&lt;/code&gt;、&lt;code&gt;while let&lt;/code&gt;、&lt;code&gt;?&lt;/code&gt; 中哪个&amp;quot;的速查手册？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>11-所有权</title><link>https://before80.github.io/prgms/Rust/q/11-ownership/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/11-ownership/</guid><description>&lt;h1 id="所有权-ownership"&gt;所有权 (Ownership)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会把赋值当成“复制一份”，结果一用原变量就撞上 &lt;code&gt;error[E0382]&lt;/code&gt;？&lt;/li&gt;
&lt;li&gt;你是否分不清什么时候该 &lt;code&gt;move&lt;/code&gt;、什么时候该借用、什么时候该 &lt;code&gt;.clone()&lt;/code&gt;？&lt;/li&gt;
&lt;li&gt;你是否想知道：Go 里赋值后两边都能用，为什么 Rust 对 &lt;code&gt;String&lt;/code&gt; / &lt;code&gt;Vec&lt;/code&gt; 要“吃掉”一边？&lt;/li&gt;
&lt;li&gt;你是否需要一套能直接迁移到日常代码的判断规则：参数吃不吃值、返回交不交回、何时 &lt;code&gt;drop&lt;/code&gt;？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>12-引用与借用</title><link>https://before80.github.io/prgms/Rust/q/12-references-and-borrowing/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/12-references-and-borrowing/</guid><description>&lt;h1 id="引用与借用-references-and-borrowing"&gt;引用与借用 (References and Borrowing)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会把 &lt;code&gt;&amp;amp;T&lt;/code&gt; / &lt;code&gt;&amp;amp;mut T&lt;/code&gt; 当成 Go 的普通指针，结果一改就撞上 &lt;code&gt;error[E0502]&lt;/code&gt; / &lt;code&gt;error[E0499]&lt;/code&gt;？&lt;/li&gt;
&lt;li&gt;你是否想知道：为什么 &lt;code&gt;HashMap::get&lt;/code&gt; 之后不能立刻 &lt;code&gt;insert&lt;/code&gt;，Go 里却很自然？&lt;/li&gt;
&lt;li&gt;你是否分不清 &lt;strong&gt;NLL&lt;/strong&gt;（Non-Lexical Lifetimes，非词法生命周期）到底放宽了什么、没放宽什么？&lt;/li&gt;
&lt;li&gt;你是否写过 &lt;code&gt;for x in &amp;amp;v { v.push(...) }&lt;/code&gt;，却不懂编译器在防什么真实内存错误？&lt;/li&gt;
&lt;li&gt;你是否需要一套「先缩作用域 / 再换 API / 最后才 clone 或内部可变」的日常判断流程？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>13-切片</title><link>https://before80.github.io/prgms/Rust/q/13-slices/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/13-slices/</guid><description>&lt;h1 id="切片-slices"&gt;切片 (Slices)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你是否分不清 &lt;code&gt;&amp;amp;[T]&lt;/code&gt;、&lt;code&gt;&amp;amp;str&lt;/code&gt;、数组和 &lt;code&gt;Vec&lt;/code&gt;，总把它们当成同一种“列表”？&lt;/li&gt;
&lt;li&gt;你是否写过 &lt;code&gt;v[i]&lt;/code&gt; 越界 panic，却不知道何时该改用 &lt;code&gt;get()&lt;/code&gt;？&lt;/li&gt;
&lt;li&gt;你是否想从 &lt;code&gt;Vec&amp;lt;String&amp;gt;&lt;/code&gt; 里 &lt;code&gt;v[0]&lt;/code&gt; 拿走一个 &lt;code&gt;String&lt;/code&gt;，结果撞上 &lt;code&gt;error[E0507]&lt;/code&gt;？&lt;/li&gt;
&lt;li&gt;你是否疑惑：Go 的 &lt;code&gt;[]T&lt;/code&gt; 和 Rust 的切片长得很像，为什么生命周期和可变规则差这么多？&lt;/li&gt;
&lt;li&gt;你是否拿不准函数参数该写 &lt;code&gt;&amp;amp;[T]&lt;/code&gt; 还是 &lt;code&gt;Vec&amp;lt;T&amp;gt;&lt;/code&gt;？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>14-字符串与文本</title><link>https://before80.github.io/prgms/Rust/q/14-strings-and-text/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/14-strings-and-text/</guid><description>&lt;h1 id="字符串与文本-strings-and-text"&gt;字符串与文本 (Strings and Text)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会把 &lt;code&gt;String&lt;/code&gt;、&lt;code&gt;str&lt;/code&gt;、&lt;code&gt;&amp;amp;str&lt;/code&gt; 当成三种“差不多的字符串类型”，结果到处撞类型错误？&lt;/li&gt;
&lt;li&gt;你是否想知道：Go 里 &lt;code&gt;s[0]&lt;/code&gt;、&lt;code&gt;len(s)&lt;/code&gt;、&lt;code&gt;[]byte&lt;/code&gt; / &lt;code&gt;[]rune&lt;/code&gt; 很自然，为什么 Rust 要拆开讲字节、字符、切片边界？&lt;/li&gt;
&lt;li&gt;你是否遇到过 &lt;code&gt;error[E0277]&lt;/code&gt;、&lt;code&gt;error[E0308]&lt;/code&gt;、&lt;code&gt;error[E0382]&lt;/code&gt;，却不知道它们分别在拦字符串索引、类型不匹配、还是拼接后的 move？&lt;/li&gt;
&lt;li&gt;你会不会把路径/&lt;code&gt;OsStr&lt;/code&gt; 直接当 &lt;code&gt;&amp;amp;str&lt;/code&gt; 用，结果在 Windows 上踩非 UTF-8 文件名？&lt;/li&gt;
&lt;li&gt;你是否希望有一份“参数写 &lt;code&gt;&amp;amp;str&lt;/code&gt;、拥有用 &lt;code&gt;String&lt;/code&gt;、遍历选 &lt;code&gt;chars&lt;/code&gt;/&lt;code&gt;bytes&lt;/code&gt;/&lt;code&gt;char_indices&lt;/code&gt;”的日常心智模型？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>15-内存与分配</title><link>https://before80.github.io/prgms/Rust/q/15-memory-and-allocation/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/15-memory-and-allocation/</guid><description>&lt;h1 id="内存与分配-memory-and-allocation"&gt;内存与分配 (Memory and Allocation)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你是否把 Rust 当成「没有 GC 的 Go」，结果分不清栈、堆、谁负责释放？&lt;/li&gt;
&lt;li&gt;你会不会拿着 &lt;code&gt;Vec&lt;/code&gt; / &lt;code&gt;String&lt;/code&gt; 元素的引用再 &lt;code&gt;push&lt;/code&gt;，撞上 &lt;code&gt;error[E0502]&lt;/code&gt;？&lt;/li&gt;
&lt;li&gt;你是否分不清 &lt;code&gt;len&lt;/code&gt; / &lt;code&gt;capacity&lt;/code&gt;、&lt;code&gt;Box&lt;/code&gt;、&lt;code&gt;move&lt;/code&gt;、循环引用泄漏各自在防什么？&lt;/li&gt;
&lt;li&gt;你是否需要一套「数据放哪、谁拥有、会不会搬家、何时释放」的日常判断流程？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>16-结构体</title><link>https://before80.github.io/prgms/Rust/q/16-structs/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/16-structs/</guid><description>&lt;h1 id="结构体-structs"&gt;结构体 (Structs)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会把 Rust struct 当成“没有 GC 的 Go struct”，结果在 &lt;code&gt;..base&lt;/code&gt;、方法接收者上连环报错？&lt;/li&gt;
&lt;li&gt;你是否分不清 &lt;code&gt;self&lt;/code&gt; / &lt;code&gt;&amp;amp;self&lt;/code&gt; / &lt;code&gt;&amp;amp;mut self&lt;/code&gt;，以及关联函数和方法的差别？&lt;/li&gt;
&lt;li&gt;你会不会在字段默认私有、&lt;code&gt;derive&lt;/code&gt;、newtype、带生命周期字段这些题上反复踩坑？&lt;/li&gt;
&lt;li&gt;你是否想知道：什么时候该 Builder、什么时候该拥有 &lt;code&gt;String&lt;/code&gt;、什么时候该借 &lt;code&gt;&amp;amp;str&lt;/code&gt;？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>17-枚举</title><link>https://before80.github.io/prgms/Rust/q/17-enums/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/17-enums/</guid><description>&lt;h1 id="枚举-enums"&gt;枚举 (Enums)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会把 Rust &lt;code&gt;enum&lt;/code&gt; 想成 Go 的 &lt;code&gt;iota&lt;/code&gt; 常量，结果完全低估它？&lt;/li&gt;
&lt;li&gt;你是否还不清楚为什么 &lt;code&gt;Option&lt;/code&gt;/&lt;code&gt;Result&lt;/code&gt; 是日常基础类型而不是“高级语法糖”？&lt;/li&gt;
&lt;li&gt;你会不会在 &lt;code&gt;match&lt;/code&gt; 穷尽性、变体 move、递归 &lt;code&gt;Box&lt;/code&gt;、&lt;code&gt;#[repr]&lt;/code&gt;/&lt;code&gt;FFI&lt;/code&gt; 上反复踩坑？&lt;/li&gt;
&lt;li&gt;你是否想知道：什么时候该用 enum，什么时候该拆成多个 struct / trait？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>18-模式匹配</title><link>https://before80.github.io/prgms/Rust/q/18-pattern-matching/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/18-pattern-matching/</guid><description>&lt;h1 id="模式匹配-pattern-matching"&gt;模式匹配 (Pattern Matching)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会把 &lt;code&gt;match&lt;/code&gt; 当成加强版 &lt;code&gt;switch&lt;/code&gt;，结果在 move、穷尽性、守卫上连环报错？&lt;/li&gt;
&lt;li&gt;你是否分不清 &lt;code&gt;if let&lt;/code&gt;、&lt;code&gt;let ... else&lt;/code&gt;、&lt;code&gt;matches!&lt;/code&gt; 各自适合什么场景？&lt;/li&gt;
&lt;li&gt;你会不会被 &lt;code&gt;ref&lt;/code&gt;、&lt;code&gt;@&lt;/code&gt; 绑定、&lt;code&gt;_&lt;/code&gt; 与 &lt;code&gt;_x&lt;/code&gt;、slice 模式搞糊涂？&lt;/li&gt;
&lt;li&gt;你是否想知道：为什么带 &lt;code&gt;if&lt;/code&gt; 守卫的分支不能单独撑起穷尽性？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>19-常见集合</title><link>https://before80.github.io/prgms/Rust/q/19-collections/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/19-collections/</guid><description>&lt;h1 id="常见集合-collections"&gt;常见集合 (Collections)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会在 &lt;code&gt;HashMap::get&lt;/code&gt; 后立刻 &lt;code&gt;insert&lt;/code&gt; 撞上 &lt;code&gt;E0502&lt;/code&gt;？&lt;/li&gt;
&lt;li&gt;你是否分不清 &lt;code&gt;iter&lt;/code&gt; / &lt;code&gt;iter_mut&lt;/code&gt; / &lt;code&gt;into_iter&lt;/code&gt;、以及 &lt;code&gt;entry&lt;/code&gt; / &lt;code&gt;collect&lt;/code&gt; / &lt;code&gt;drain&lt;/code&gt;？&lt;/li&gt;
&lt;li&gt;你会不会把 Go 的 slice/map 扩容与并发直觉直接带进 Rust？&lt;/li&gt;
&lt;li&gt;你是否想知道：&lt;code&gt;Vec&lt;/code&gt;/&lt;code&gt;HashMap&lt;/code&gt;/&lt;code&gt;BTreeMap&lt;/code&gt;/&lt;code&gt;VecDeque&lt;/code&gt;/&lt;code&gt;LinkedList&lt;/code&gt;/&lt;code&gt;BinaryHeap&lt;/code&gt; 各自什么时候该选？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>20-迭代器与闭包</title><link>https://before80.github.io/prgms/Rust/q/20-iterators-and-closures/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/20-iterators-and-closures/</guid><description>&lt;h1 id="迭代器与闭包-iterators-and-closures"&gt;迭代器与闭包 (Iterators and Closures)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会分不清 &lt;code&gt;iter&lt;/code&gt; / &lt;code&gt;iter_mut&lt;/code&gt; / &lt;code&gt;into_iter&lt;/code&gt;，结果把容器吃掉或改不了元素？&lt;/li&gt;
&lt;li&gt;你是否被 &lt;code&gt;Fn&lt;/code&gt; / &lt;code&gt;FnMut&lt;/code&gt; / &lt;code&gt;FnOnce&lt;/code&gt;、&lt;code&gt;move&lt;/code&gt; 闭包、&lt;code&gt;E0525&lt;/code&gt; 搞到怀疑人生？&lt;/li&gt;
&lt;li&gt;你会不会写了长长的 &lt;code&gt;map/filter&lt;/code&gt; 却忘了 &lt;code&gt;collect&lt;/code&gt;，以为已经执行？&lt;/li&gt;
&lt;li&gt;你是否想知道：Go 的 &lt;code&gt;for range&lt;/code&gt; / 闭包与 Rust 迭代器模型差在哪？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>21-错误处理</title><link>https://before80.github.io/prgms/Rust/q/21-error-handling/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/21-error-handling/</guid><description>&lt;h1 id="错误处理-error-handling"&gt;错误处理 (Error Handling)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，因此会直接对比 Go 的 &lt;code&gt;error&lt;/code&gt;、&lt;code&gt;panic&lt;/code&gt; 和早返回习惯。&lt;/p&gt;
&lt;p&gt;你会看到：什么时候用 &lt;code&gt;Option&lt;/code&gt;，什么时候用 &lt;code&gt;Result&lt;/code&gt;，什么时候该显式失败，什么时候该让程序直接停下。&lt;/p&gt;</description></item><item><title>22-包、Crate 与模块</title><link>https://before80.github.io/prgms/Rust/q/22-packages-crates-and-modules/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/22-packages-crates-and-modules/</guid><description>&lt;h1 id="包crate-与模块-packages-crates-and-modules"&gt;包、Crate 与模块 (Packages, Crates and Modules)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。如果你习惯了 Go 的“目录 + package 名 + 首字母大写导出”，这一篇最重要的任务就是帮你把 Rust 的三层概念拆开。&lt;/p&gt;
&lt;p&gt;先别急着背语法。只要先分清 package、crate、module 分别在管什么，&lt;code&gt;mod&lt;/code&gt;、&lt;code&gt;use&lt;/code&gt;、&lt;code&gt;pub&lt;/code&gt; 的很多报错就会自己变得顺眼。&lt;/p&gt;</description></item><item><title>23-Cargo 工作流</title><link>https://before80.github.io/prgms/Rust/q/23-cargo-workflow/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/23-cargo-workflow/</guid><description>&lt;h1 id="cargo-工作流-cargo-workflow"&gt;Cargo 工作流 (Cargo Workflow)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。如果你把 Cargo 只理解成“下载依赖的工具”，这一篇会帮你把它扩展成完整的日常工作流心智模型。&lt;/p&gt;
&lt;p&gt;你会看到的不是一堆零散命令，而是“建项目、改依赖、加检查、发版本、做 CI”这些真实动作在 Cargo 里分别落到哪里。&lt;/p&gt;</description></item><item><title>24-测试</title><link>https://before80.github.io/prgms/Rust/q/24-testing/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/24-testing/</guid><description>&lt;h1 id="测试-testing"&gt;测试 (Testing)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会分不清：单元测试、集成测试、文档测试该写在哪、能不能测私有函数？&lt;/li&gt;
&lt;li&gt;你是否想知道：&lt;code&gt;#[cfg(test)] mod tests&lt;/code&gt; 怎么写，和 Go 的 &lt;code&gt;_test.go&lt;/code&gt; 差在哪？&lt;/li&gt;
&lt;li&gt;你是否分不清 &lt;code&gt;assert!&lt;/code&gt; / &lt;code&gt;assert_eq!&lt;/code&gt; / &lt;code&gt;assert_ne!&lt;/code&gt; / &lt;code&gt;debug_assert!&lt;/code&gt; 该用哪个？&lt;/li&gt;
&lt;li&gt;你是否想只跑一个测试、看 &lt;code&gt;println!&lt;/code&gt; 输出，却不知道 &lt;code&gt;cargo test&lt;/code&gt; 的过滤与 &lt;code&gt;--&lt;/code&gt; 参数？&lt;/li&gt;
&lt;li&gt;你是否想把 Go 的表驱动测试平移到 Rust，或写回归测试锁住修过的 bug？&lt;/li&gt;
&lt;li&gt;你会不会在 CI 里 &lt;code&gt;cargo test&lt;/code&gt; 偶发失败、锁文件漂移，不知道该加哪些开关？&lt;/li&gt;
&lt;li&gt;你是否想做属性测试、mock HTTP 上游、或测 CLI 二进制（&lt;code&gt;proptest&lt;/code&gt; / wiremock / &lt;code&gt;assert_cmd&lt;/code&gt;）？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>25-泛型</title><link>https://before80.github.io/prgms/Rust/q/25-generics/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/25-generics/</guid><description>&lt;p&gt;泛型 (Generics)&lt;/p&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go；只有真的能形成代码对照时才给 Go 代码，否则只做概念对比。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你是否知道 Rust 泛型不是“先写着，实例化时再看能不能用”的模板系统？&lt;/li&gt;
&lt;li&gt;你是否总在 &lt;code&gt;T&lt;/code&gt; 上直接点方法，然后遇到 “no method found for type parameter” 这类报错？&lt;/li&gt;
&lt;li&gt;你是否分不清 &lt;code&gt;T: Trait&lt;/code&gt;、&lt;code&gt;where&lt;/code&gt;、&lt;code&gt;impl Trait&lt;/code&gt;、&lt;code&gt;dyn Trait&lt;/code&gt; 各自的职责？&lt;/li&gt;
&lt;li&gt;你是否想搞懂 const 泛型、默认类型参数、&lt;code&gt;?Sized&lt;/code&gt; 这些常见扩展写法？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>26-Trait</title><link>https://before80.github.io/prgms/Rust/q/26-traits/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/26-traits/</guid><description>&lt;p&gt;Trait (Traits)&lt;/p&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go；只有真的值得用代码对照时才给 Go 示例。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你是否总把 trait 直接等同于 Go interface，于是在 &lt;code&gt;impl&lt;/code&gt;、&lt;code&gt;dyn&lt;/code&gt;、对象安全上产生误解？&lt;/li&gt;
&lt;li&gt;你是否想知道 trait 既能用于泛型约束，又能用于运行时多态，这两者怎么区分？&lt;/li&gt;
&lt;li&gt;你是否遇到过孤儿规则、同名方法冲突、&lt;code&gt;derive&lt;/code&gt; 失败这类日常报错？&lt;/li&gt;
&lt;li&gt;你是否需要一套“写业务时怎么选”的 trait 心智模型？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>27-生命周期</title><link>https://before80.github.io/prgms/Rust/q/27-lifetimes/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/27-lifetimes/</guid><description>&lt;p&gt;生命周期 (Lifetimes)&lt;/p&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go；重点不是背语法，而是建立“生命周期描述借用关系，而不是延长寿命”的心智模型。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>28-智能指针</title><link>https://before80.github.io/prgms/Rust/q/28-smart-pointers/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/28-smart-pointers/</guid><description>&lt;p&gt;智能指针 (Smart Pointers)&lt;/p&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。这篇不把智能指针讲成“更多星号”，而是把它们放回所有权、共享和内部可变性的语境里。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你是否总把 &lt;code&gt;Box&lt;/code&gt;、&lt;code&gt;Rc&lt;/code&gt;、&lt;code&gt;Arc&lt;/code&gt;、&lt;code&gt;RefCell&lt;/code&gt;、&lt;code&gt;Mutex&lt;/code&gt; 混成“都是某种指针”？&lt;/li&gt;
&lt;li&gt;你是否想搞懂为什么 &lt;code&gt;Rc&amp;lt;RefCell&amp;lt;T&amp;gt;&amp;gt;&lt;/code&gt;、&lt;code&gt;Arc&amp;lt;Mutex&amp;lt;T&amp;gt;&amp;gt;&lt;/code&gt; 会成为固定搭配？&lt;/li&gt;
&lt;li&gt;你是否不清楚 &lt;code&gt;Weak&lt;/code&gt;、&lt;code&gt;Cow&lt;/code&gt;、&lt;code&gt;Pin&lt;/code&gt; 解决的到底是哪类具体问题？&lt;/li&gt;
&lt;li&gt;你是否需要一个按“所有权 / 共享 / 可变性 / 线程”拆分的记忆方式？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>29-并发与线程</title><link>https://before80.github.io/prgms/Rust/q/29-concurrency-and-threads/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/29-concurrency-and-threads/</guid><description>&lt;p&gt;并发与线程 (Concurrency And Threads)&lt;/p&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。这篇重点不是背 API，而是先分清“线程、消息传递、共享状态、所有权边界”这四件事。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>30-高级函数与闭包</title><link>https://before80.github.io/prgms/Rust/q/30-advanced-functions-and-closures/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/30-advanced-functions-and-closures/</guid><description>&lt;h1 id="高级函数与闭包-advanced-functions-and-closures"&gt;高级函数与闭包 (Advanced Functions and Closures)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你是否总分不清 &lt;code&gt;Fn&lt;/code&gt;、&lt;code&gt;FnMut&lt;/code&gt;、&lt;code&gt;FnOnce&lt;/code&gt;，只知道“编译器又不让我传这个闭包”？&lt;/li&gt;
&lt;li&gt;你是否想知道：Go 把函数当值传来传去很自然，为什么 Rust 这里突然要谈所有权和捕获方式？&lt;/li&gt;
&lt;li&gt;你是否遇到过 &lt;code&gt;error[E0525]&lt;/code&gt;、&lt;code&gt;error[E0373]&lt;/code&gt;、&lt;code&gt;error[E0308]&lt;/code&gt;，却看不懂闭包到底哪里“不够格”？&lt;/li&gt;
&lt;li&gt;你是否想写“返回一个回调”的 API，却被匿名闭包类型、&lt;code&gt;impl Fn&lt;/code&gt;、&lt;code&gt;Box&amp;lt;dyn Fn&amp;gt;&lt;/code&gt; 搞晕？&lt;/li&gt;
&lt;li&gt;你是否看到 HRTB、&lt;code&gt;for&amp;lt;'a&amp;gt;&lt;/code&gt; 这类写法就头皮发麻，想先知道它到底在解决什么真实问题？&lt;/li&gt;
&lt;li&gt;你是否想确认：哪些闭包、异步闭包、&lt;code&gt;Fn&lt;/code&gt; trait 自定义实现是 stable，哪些仍是 nightly？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>31-异步编程</title><link>https://before80.github.io/prgms/Rust/q/31-async-programming/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/31-async-programming/</guid><description>&lt;h1 id="异步编程-async-programming"&gt;异步编程 (Async Programming)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你是否把 Rust &lt;code&gt;async&lt;/code&gt; 当成了 Go goroutine，结果发现“怎么一个 &lt;code&gt;.await&lt;/code&gt; 不写就什么都没跑”？&lt;/li&gt;
&lt;li&gt;你是否想知道 &lt;code&gt;Future&lt;/code&gt;、&lt;code&gt;executor&lt;/code&gt;、&lt;code&gt;wake&lt;/code&gt;、&lt;code&gt;pin&lt;/code&gt; 这些词到底分别扮演什么角色？&lt;/li&gt;
&lt;li&gt;你是否被 &lt;code&gt;future cannot be sent between threads safely&lt;/code&gt;、&lt;code&gt;borrowed value does not live long enough&lt;/code&gt; 这类跨 &lt;code&gt;await&lt;/code&gt; 报错绊住过？&lt;/li&gt;
&lt;li&gt;你是否分不清 &lt;code&gt;tokio::spawn&lt;/code&gt;、&lt;code&gt;spawn_local&lt;/code&gt;、&lt;code&gt;join!&lt;/code&gt;、&lt;code&gt;select!&lt;/code&gt;、&lt;code&gt;spawn_blocking&lt;/code&gt; 分别该在什么场景用？&lt;/li&gt;
&lt;li&gt;你是否担心把 stable、nightly 和“只是概念示意”的内容混到一起？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>32-宏</title><link>https://before80.github.io/prgms/Rust/q/32-macros/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/32-macros/</guid><description>&lt;h1 id="宏-macros"&gt;宏 (Macros)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你是否只知道 Rust 有 &lt;code&gt;println!&lt;/code&gt;、&lt;code&gt;vec!&lt;/code&gt;，但不知道宏和函数到底差在哪？&lt;/li&gt;
&lt;li&gt;你是否想弄明白 &lt;code&gt;macro_rules!&lt;/code&gt;、derive 宏、attribute 宏、function-like 过程宏各自干什么？&lt;/li&gt;
&lt;li&gt;你是否被 &lt;code&gt;no rules expected this token&lt;/code&gt;、&lt;code&gt;cannot find macro&lt;/code&gt;、&lt;code&gt;unresolved module&lt;/code&gt; 一类错误劝退过？&lt;/li&gt;
&lt;li&gt;你是否想知道 Rust 宏和 Go 的 &lt;code&gt;go:generate&lt;/code&gt;、代码生成、反射，分别适合解决什么问题？&lt;/li&gt;
&lt;li&gt;你是否总听人说“卫生性（hygiene）”，但不知道这词落到代码里是什么意思？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>33-高级 Trait</title><link>https://before80.github.io/prgms/Rust/q/33-advanced-traits/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/33-advanced-traits/</guid><description>&lt;h1 id="高级-trait-advanced-traits"&gt;高级 Trait (Advanced Traits)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你是否看过 &lt;code&gt;Iterator&amp;lt;Item = T&amp;gt;&lt;/code&gt;、&lt;code&gt;dyn Trait&lt;/code&gt;、GAT、object safety，却总觉得概念太多连不起来？&lt;/li&gt;
&lt;li&gt;你是否想知道：Go &lt;code&gt;interface&lt;/code&gt; 的高级用法，在 Rust 里该落到 trait object、associated type 还是泛型？&lt;/li&gt;
&lt;li&gt;你是否常在“关联类型 vs 泛型参数”之间摇摆，不知道 API 该怎么设计？&lt;/li&gt;
&lt;li&gt;你是否分得清：AFIT / RPITIT 已是 stable，而 trait alias、specialization 仍是 nightly？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>34-高级类型</title><link>https://before80.github.io/prgms/Rust/q/34-advanced-types/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/34-advanced-types/</guid><description>&lt;h1 id="高级类型-advanced-types"&gt;高级类型 (Advanced Types)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你是否总把 &lt;code&gt;type&lt;/code&gt; 别名和 newtype 混为一谈？&lt;/li&gt;
&lt;li&gt;你是否看到 &lt;code&gt;!&lt;/code&gt;、&lt;code&gt;dyn Trait&lt;/code&gt;、&lt;code&gt;str&lt;/code&gt;、&lt;code&gt;[T]&lt;/code&gt;、&lt;code&gt;?Sized&lt;/code&gt;、&lt;code&gt;PhantomData&lt;/code&gt; 就觉得“类型系统开始玄学了”？&lt;/li&gt;
&lt;li&gt;你是否想知道 Go 里“给别名改个名字”和 Rust 里“造一个新类型”到底差多远？&lt;/li&gt;
&lt;li&gt;你是否担心把 ATPIT / TAIT 这类 still-nightly 的点误写成 stable？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>35-Unsafe Rust</title><link>https://before80.github.io/prgms/Rust/q/35-unsafe-rust/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/35-unsafe-rust/</guid><description>&lt;h1 id="unsafe-rust-unsafe-rust"&gt;Unsafe Rust (Unsafe Rust)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你是否把 Rust &lt;code&gt;unsafe&lt;/code&gt; 误解成“关掉所有检查，接下来靠信仰”？&lt;/li&gt;
&lt;li&gt;你是否想知道 Go 的 &lt;code&gt;unsafe.Pointer&lt;/code&gt; 和 Rust &lt;code&gt;unsafe&lt;/code&gt; 到底像在哪里、又不像在哪里？&lt;/li&gt;
&lt;li&gt;你是否分不清 &lt;code&gt;unsafe fn&lt;/code&gt;、&lt;code&gt;unsafe {}&lt;/code&gt;、裸指针、&lt;code&gt;UnsafeCell&lt;/code&gt;、&lt;code&gt;extern &amp;quot;C&amp;quot;&lt;/code&gt; 各自负责什么契约？&lt;/li&gt;
&lt;li&gt;你是否总听人说 UB、ABI、FFI，却很难把这些词和具体代码风险对上？&lt;/li&gt;
&lt;li&gt;你是否担心把 nightly、edition 差异和“只是概念示意”写混？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>36-Serde 与序列化</title><link>https://before80.github.io/prgms/Rust/q/36-serde-and-serialization/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/36-serde-and-serialization/</guid><description>&lt;h1 id="serde-与序列化-serde-and-serialization"&gt;Serde 与序列化 (Serde and Serialization)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>37-文件系统、Path 与 IO</title><link>https://before80.github.io/prgms/Rust/q/37-filesystem-path-and-io/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/37-filesystem-path-and-io/</guid><description>&lt;h1 id="文件系统path-与-io-filesystem-path-and-io"&gt;文件系统、Path 与 IO (Filesystem, Path and IO)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>38-命令行与 clap</title><link>https://before80.github.io/prgms/Rust/q/38-cli-with-clap/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/38-cli-with-clap/</guid><description>&lt;h1 id="命令行与-clap-cli-with-clap"&gt;命令行与 clap (CLI with clap)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会一上来就 &lt;code&gt;std::env::args&lt;/code&gt; 手拆参数，写到一半才发现缺帮助、缺校验、缺子命令？&lt;/li&gt;
&lt;li&gt;你是否想知道：clap 的 derive 最小 &lt;code&gt;Cli&lt;/code&gt; 怎么写，和 Go 的 &lt;code&gt;flag&lt;/code&gt; / Cobra 怎么对照？&lt;/li&gt;
&lt;li&gt;你是否分不清：必选、可选、默认值、环境变量、bool flag、&lt;code&gt;-vv&lt;/code&gt; 该怎么声明？&lt;/li&gt;
&lt;li&gt;你是否想给 CLI 加 &lt;code&gt;about&lt;/code&gt; / &lt;code&gt;version&lt;/code&gt;、全局参数，并和 &lt;code&gt;main -&amp;gt; Result&lt;/code&gt; / &lt;code&gt;anyhow&lt;/code&gt; 拼在一起？&lt;/li&gt;
&lt;li&gt;你会不会在 &lt;code&gt;Cargo.toml&lt;/code&gt; 里不知该开哪些 clap &lt;strong&gt;features&lt;/strong&gt;（功能开关），或校验失败时进程退出码不对？&lt;/li&gt;
&lt;li&gt;你是否想加进度条、shell 补全（&lt;code&gt;indicatif&lt;/code&gt; / &lt;code&gt;clap_complete&lt;/code&gt;）？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>39-日志与 tracing</title><link>https://before80.github.io/prgms/Rust/q/39-logging-and-tracing/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/39-logging-and-tracing/</guid><description>&lt;h1 id="日志与-tracing-logging-and-tracing"&gt;日志与 tracing (Logging and Tracing)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会觉得 &lt;code&gt;println!&lt;/code&gt; 够用，直到线上要按级别过滤、按模块关掉噪声？&lt;/li&gt;
&lt;li&gt;你是否分不清：&lt;code&gt;log&lt;/code&gt; facade 和 &lt;code&gt;tracing&lt;/code&gt; 该选哪个，&lt;code&gt;RUST_LOG&lt;/code&gt; 到底谁在读？&lt;/li&gt;
&lt;li&gt;你是否写了 &lt;code&gt;info!&lt;/code&gt; 却没输出，不知道要 &lt;strong&gt;init subscriber&lt;/strong&gt;（初始化订阅者）？&lt;/li&gt;
&lt;li&gt;你是否想知道：span 和普通日志事件差在哪，库该不该自己 init，async 怎么 &lt;code&gt;Instrument&lt;/code&gt;？&lt;/li&gt;
&lt;li&gt;你会不会打完日志还纠结：要不要继续 &lt;code&gt;return Err&lt;/code&gt;？JSON 日志怎么接到 stdout？&lt;/li&gt;
&lt;li&gt;你是否想把 &lt;code&gt;Error&lt;/code&gt; 挂进 tracing 字段，或纠结什么时候才上 OpenTelemetry？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>40-HTTP 客户端与服务端</title><link>https://before80.github.io/prgms/Rust/q/40-http-client-and-server/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/40-http-client-and-server/</guid><description>&lt;h1 id="http-客户端与服务端入门-http-client-and-server"&gt;HTTP 客户端与服务端入门 (HTTP Client and Server)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;</description></item><item><title>41-时间与日期</title><link>https://before80.github.io/prgms/Rust/q/41-time-and-dates/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/41-time-and-dates/</guid><description>&lt;h1 id="时间与日期-time-and-dates"&gt;时间与日期 (Time and Dates)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你是否分不清：&lt;code&gt;Instant&lt;/code&gt; 和 &lt;code&gt;SystemTime&lt;/code&gt; 哪个用来测耗时、哪个用来当时间戳？&lt;/li&gt;
&lt;li&gt;你是否想算超时/睡眠，却搞混 &lt;code&gt;Duration&lt;/code&gt;、阻塞 &lt;code&gt;sleep&lt;/code&gt; 和 Tokio 的 &lt;code&gt;sleep&lt;/code&gt;？&lt;/li&gt;
&lt;li&gt;你是否要解析 RFC3339、按时区显示、对标 Go 的 Layout，却发现 std 几乎没有「日历」API？&lt;/li&gt;
&lt;li&gt;你是否要在 serde 里序列化时间字段，或把 monotonic 时钟误当成文件修改时间？&lt;/li&gt;
&lt;li&gt;你是否踩过夏令时、定时/间隔任务，不知道该用 chrono 还是 time、怎么和 Go &lt;code&gt;time&lt;/code&gt; 对照？&lt;/li&gt;
&lt;li&gt;你是否误把 &lt;code&gt;NaiveDateTime&lt;/code&gt; 当「带时区时间」，或卡在 &lt;code&gt;SystemTime&lt;/code&gt; 与 chrono 互转？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>42-正则表达式</title><link>https://before80.github.io/prgms/Rust/q/42-regex/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/42-regex/</guid><description>&lt;h1 id="正则表达式-regular-expressions"&gt;正则表达式 (Regular Expressions)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会想直接 &lt;code&gt;use regex&lt;/code&gt; 却发现标准库没有正则，不知道该用哪个 crate？&lt;/li&gt;
&lt;li&gt;你是否每次匹配都 &lt;code&gt;Regex::new&lt;/code&gt;，热路径又慢又吵编译错误？&lt;/li&gt;
&lt;li&gt;你是否分不清 &lt;code&gt;is_match&lt;/code&gt; / &lt;code&gt;find&lt;/code&gt; / &lt;code&gt;captures&lt;/code&gt;，以及命名捕获、&lt;code&gt;replace&lt;/code&gt; 怎么写？&lt;/li&gt;
&lt;li&gt;你会不会把 Perl/PCRE 写法原样搬过来，结果 Rust &lt;code&gt;regex&lt;/code&gt; 直接拒绝？&lt;/li&gt;
&lt;li&gt;你是否想对照 Go 的 &lt;code&gt;regexp&lt;/code&gt;（RE2 风格），或知道何时该用 &lt;code&gt;split&lt;/code&gt;/&lt;code&gt;contains&lt;/code&gt; 而不是正则？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>43-数据库与 SQL</title><link>https://before80.github.io/prgms/Rust/q/43-database-and-sql/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/43-database-and-sql/</guid><description>&lt;h1 id="数据库与-sql-database-and-sql"&gt;数据库与 SQL (Database and SQL)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会像找 &lt;code&gt;database/sql&lt;/code&gt; 一样在 std 里搜 DB API，结果一无所获？&lt;/li&gt;
&lt;li&gt;你是否分不清 &lt;strong&gt;sqlx&lt;/strong&gt; / &lt;strong&gt;diesel&lt;/strong&gt; / &lt;strong&gt;SeaORM&lt;/strong&gt; 该选哪个，以及和 Go 的 database/sql + ORM 怎么对照？&lt;/li&gt;
&lt;li&gt;你是否想知道：连接串放哪、&lt;code&gt;query!&lt;/code&gt; 和运行时查询差在哪、行怎么映射成 struct、事务与连接池怎么写？&lt;/li&gt;
&lt;li&gt;你是否担心：在 async 里阻塞、SQL 注入、本地怎么起测试库、迁移（migration）放哪跑？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>44-配置管理</title><link>https://before80.github.io/prgms/Rust/q/44-configuration/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/44-configuration/</guid><description>&lt;h1 id="配置管理-configuration"&gt;配置管理 (Configuration)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你是否想把「默认值 + 配置文件 + 环境变量」叠成一层可读的 &lt;code&gt;Config&lt;/code&gt;，却不知道从哪下手？&lt;/li&gt;
&lt;li&gt;你是否分不清：只读 &lt;code&gt;std::env&lt;/code&gt;、dotenvy、serde 读 TOML、&lt;code&gt;config&lt;/code&gt;/&lt;code&gt;figment&lt;/code&gt; 各自何时上场？&lt;/li&gt;
&lt;li&gt;你是否纠结：缺配置该 &lt;code&gt;panic&lt;/code&gt; 还是返回 &lt;code&gt;Err&lt;/code&gt;？密钥怎么分层？要不要热更新？&lt;/li&gt;
&lt;li&gt;你是否想对齐 Go 的 Viper，并把 &lt;strong&gt;clap&lt;/strong&gt; CLI 盖在最上层？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>45-gRPC 与 Protobuf</title><link>https://before80.github.io/prgms/Rust/q/45-grpc-and-protobuf/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/45-grpc-and-protobuf/</guid><description>&lt;h1 id="grpc-与-protobuf-grpc-and-protobuf"&gt;gRPC 与 Protobuf (gRPC and Protobuf)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>46-密码学与哈希</title><link>https://before80.github.io/prgms/Rust/q/46-cryptography-and-hashing/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/46-cryptography-and-hashing/</guid><description>&lt;h1 id="密码学与哈希-cryptography-and-hashing"&gt;密码学与哈希 (Cryptography and Hashing)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你会不会疑惑：为什么 Go 有 &lt;code&gt;crypto/*&lt;/code&gt;，Rust std 却几乎不放密码学？&lt;/li&gt;
&lt;li&gt;你是否分不清：内容完整性用 sha2/blake3，密码存储却绝不能裸 SHA？&lt;/li&gt;
&lt;li&gt;你是否想算 SHA-256、做 HMAC、上 AES-GCM，却不知道该选哪几个 crate？&lt;/li&gt;
&lt;li&gt;你是否把 &lt;code&gt;rand&lt;/code&gt; 当“够随机”、把 &lt;code&gt;==&lt;/code&gt; 当“安全比较”，埋下时序侧信道？&lt;/li&gt;
&lt;li&gt;你是否纠结：TLS 证书该谁管、密钥怎么放才不进仓库？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>47-WebAssembly</title><link>https://before80.github.io/prgms/Rust/q/47-webassembly/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/47-webassembly/</guid><description>&lt;h1 id="webassembly-webassembly"&gt;WebAssembly (WebAssembly)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你是否想知道：为什么大家爱用 Rust 写 WASM，而不是只在浏览器里写 JS？&lt;/li&gt;
&lt;li&gt;你是否分不清 &lt;code&gt;wasm32-unknown-unknown&lt;/code&gt; 和 WASI、浏览器跑和 wasmtime 跑？&lt;/li&gt;
&lt;li&gt;你是否想走通：&lt;code&gt;rustup target add&lt;/code&gt; → &lt;code&gt;cargo build --target&lt;/code&gt; →（可选）wasm-bindgen / wasm-pack？&lt;/li&gt;
&lt;li&gt;你是否纠结体积优化、&lt;code&gt;panic=abort&lt;/code&gt;、&lt;code&gt;no_std&lt;/code&gt;、异步与线程在 WASM 里的限制？&lt;/li&gt;
&lt;li&gt;你是否想对照 Go 的 &lt;code&gt;GOOS=js GOARCH=wasm&lt;/code&gt;，并判断什么时候别用 WASM？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>48-缓存与 Redis</title><link>https://before80.github.io/prgms/Rust/q/48-caching-and-redis/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/48-caching-and-redis/</guid><description>&lt;h1 id="缓存与-redis-caching-and-redis"&gt;缓存与 Redis (Caching and Redis)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你是否想知道：进程内缓存用 &lt;strong&gt;moka&lt;/strong&gt; / &lt;strong&gt;cached&lt;/strong&gt; / &lt;code&gt;HashMap&lt;/code&gt;+&lt;code&gt;Mutex&lt;/code&gt; 怎么选？&lt;/li&gt;
&lt;li&gt;你是否疑惑：有了本地缓存，为什么服务还要上 &lt;strong&gt;Redis&lt;/strong&gt;？&lt;/li&gt;
&lt;li&gt;你是否分不清 &lt;strong&gt;redis-rs&lt;/strong&gt; 与 &lt;strong&gt;deadpool-redis&lt;/strong&gt;、GET/SET/TTL 最小怎么写？&lt;/li&gt;
&lt;li&gt;你是否怕缓存穿透 / 击穿 / 雪崩，或把分布式锁、pub/sub 用错场景？&lt;/li&gt;
&lt;li&gt;你是否在 async 里阻塞 Redis、或不知本地 + Redis 二级缓存怎么分层、何时不该上 Redis？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>49-部署与 Docker</title><link>https://before80.github.io/prgms/Rust/q/49-deployment-and-docker/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/49-deployment-and-docker/</guid><description>&lt;h1 id="部署与-docker-deployment-and-docker"&gt;部署与 Docker (Deployment and Docker)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你是否想知道：Rust 二进制部署和 Go 有多像，release 构建要检查哪些项？&lt;/li&gt;
&lt;li&gt;你是否想写最小多阶段 &lt;strong&gt;Dockerfile&lt;/strong&gt;，却踩到缺 CA、时区、glibc 或底座选型？&lt;/li&gt;
&lt;li&gt;你是否纠结：distroless / scratch / alpine / debian、何时考虑 &lt;strong&gt;musl&lt;/strong&gt; 静态链接？&lt;/li&gt;
&lt;li&gt;你是否想对齐健康检查与优雅退出、配置密钥注入、CI 里缓存 cargo 依赖？&lt;/li&gt;
&lt;li&gt;你是否关心：容器资源限制、tokio worker，以及日志/metrics 怎么接可观测？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>50-TCP/UDP 与套接字</title><link>https://before80.github.io/prgms/Rust/q/50-tcp-udp-and-sockets/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/50-tcp-udp-and-sockets/</guid><description>&lt;h1 id="tcp--udp-与套接字-tcp-udp-and-sockets"&gt;TCP / UDP 与套接字 (TCP, UDP and Sockets)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>51-性能剖析与基准</title><link>https://before80.github.io/prgms/Rust/q/51-profiling-and-benchmarking/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/51-profiling-and-benchmarking/</guid><description>&lt;h1 id="性能剖析与基准测试-profiling-and-benchmarking"&gt;性能剖析与基准测试 (Profiling and Benchmarking)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你是否习惯 &lt;code&gt;go test -bench&lt;/code&gt; / &lt;code&gt;pprof&lt;/code&gt;，一到 Rust 就问「火焰图和基准怎么搞」？&lt;/li&gt;
&lt;li&gt;你是否分不清 &lt;strong&gt;criterion&lt;/strong&gt;、&lt;code&gt;cargo bench&lt;/code&gt;、手写 &lt;code&gt;Instant&lt;/code&gt; 各自能回答什么问题？&lt;/li&gt;
&lt;li&gt;你是否想对标 Go pprof：CPU 火焰图、分配剖析、异步任务卡住？&lt;/li&gt;
&lt;li&gt;你是否在 &lt;strong&gt;debug&lt;/strong&gt; 下测速、或忘记 &lt;code&gt;black_box&lt;/code&gt;，结果完全不可信？&lt;/li&gt;
&lt;li&gt;你是否在 Windows 上不知道用啥代替 Linux &lt;code&gt;perf&lt;/code&gt;？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>52-HTTP 进阶与实时通信</title><link>https://before80.github.io/prgms/Rust/q/52-http-advanced-and-realtime/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/52-http-advanced-and-realtime/</guid><description>&lt;h1 id="http-进阶与实时通信-http-advanced-and-realtime"&gt;HTTP 进阶与实时通信 (HTTP Advanced and Realtime)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>53-消息队列与事件流</title><link>https://before80.github.io/prgms/Rust/q/53-messaging-and-event-streams/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/53-messaging-and-event-streams/</guid><description>&lt;h1 id="消息队列与事件流-messaging-and-event-streams"&gt;消息队列与事件流 (Messaging and Event Streams)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;你是否在 Go 里用过 Kafka / NATS / RabbitMQ，一到 Rust 就问「官方客户端是哪个」？&lt;/li&gt;
&lt;li&gt;你是否分不清 &lt;strong&gt;Redis Pub/Sub&lt;/strong&gt;、NATS、Kafka 各自该用在哪？&lt;/li&gt;
&lt;li&gt;你是否想写 async 消费循环 + 优雅关停，却怕丢消息或重复消费？&lt;/li&gt;
&lt;li&gt;你是否卡在重试、死信、幂等、背压这些「生产必问」？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;术语速查表：&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>54-可观测性：指标与 OTel</title><link>https://before80.github.io/prgms/Rust/q/54-observability-metrics-and-otel/</link><pubDate>Tue, 28 Jul 2026 14:49:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/q/54-observability-metrics-and-otel/</guid><description>&lt;h1 id="可观测性指标与-opentelemetry-observability-metrics-and-otel"&gt;可观测性：指标与 OpenTelemetry (Observability, Metrics and OTel)&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;面向 &lt;strong&gt;Rust 1.97.1&lt;/strong&gt; (stable, 2026-07)。本篇假设你熟悉 Go，凡有可比性处均给出 🐹 Go 对比。&lt;/p&gt;
&lt;p&gt;热度: &lt;code&gt;hot&lt;/code&gt; 高频 | &lt;code&gt;common&lt;/code&gt; 常见 | &lt;code&gt;occasional&lt;/code&gt; 偶尔 | &lt;code&gt;advanced&lt;/code&gt; 进阶少见&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本篇能解决什么：&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>