This Week in Rust 645 - 深度总结
TWiR 645 · 2026年4月1日
重点新闻
- Rust 1.94.1 发布 —— 修复关键问题的小版本更新
- 2026年2月项目管理更新 发布
- Rust 基金会加入 Datadog 开源计划
- Ntpd-rs —— Rust 实现的 NTP 守护进程,已被 Ubuntu 采用
- octopos —— 基于 RISC-V 的 Rust 操作系统
- Portable Async Rust —— 可移植异步 Rust 方案
- jsongrep 发布,JSON 搜索性能超越 jq!
- flodl v0.2.2 达到与 PyTorch 性能持平
- Rust 下一代 trait 求解器 登上 LWN,详解新求解器设计
深度观察
- “Breaking The AI Infra Monopoly With Rust” —— Tracel AI 深度访谈
- “Fixing our own problems in the Rust compiler” (trifectatech) —— 编译器团队自我修复实践
- “Bugs that the Rust compiler catches for you” —— Rust 编译器帮你拦下的那些 bug
实战教程
- WASM 插件开发
- ZK snarks 系列第三部分
- 崩溃安全的邮件队列实现
- 使用 Rhai 为 CLI 工具添加脚本能力
编译器进展
- 新增
x86_64-unknown-linux-gnuxsan目标(默认启用 MSan/TSan!) -Zsanitize=kernel-hwaddress支持
标准库更新
Steptrait 常量化Fn*: Destruct常量化- 修复
MapWindows中不必要的合并 unchecked_funnel_{shl,shr}方法- 重新实现
hash_map!宏 - 稳定化
RangeFrom - 路径添加
trim_prefix方法
Cargo 进展
- 解析器错误信息美化
build.warnings覆盖率支持
Clippy
- 新增
manual_option_ziplint - 新增
manual_noop_wakerlint
Rust Analyzer
- 签名推断正式接入
- 从
GenericParams中移除Arc(性能大幅提升!)
已批准 RFC
新 RFC
- 关联 trait
- 2026 项目目标草案
优秀 Crate
- tsastat —— 线程状态分析工具 (Thread State Analysis)
本周名言
“When you do cursed things, problems find you.”
—— Folkert de Vries
This Week in Rust 645 - 深度总结
https://1uciuszzz.github.io/2026/04/01/this-week-in-rust-645-summary/


