<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>标准库 on 程序员日记</title><link>https://nanlong.github.io/tags/%E6%A0%87%E5%87%86%E5%BA%93/</link><description>Recent content in 标准库 on 程序员日记</description><generator>Hugo -- 0.152.2</generator><language>zh-CN</language><lastBuildDate>Wed, 18 Nov 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://nanlong.github.io/tags/%E6%A0%87%E5%87%86%E5%BA%93/index.xml" rel="self" type="application/rss+xml"/><item><title>Rust 1.100 深度解析：never 类型全面稳定，Vec 和 Box 支持自定义分配器</title><link>https://nanlong.github.io/posts/rust-1-100-0-deep-dive/</link><pubDate>Wed, 18 Nov 2026 00:00:00 +0800</pubDate><guid>https://nanlong.github.io/posts/rust-1-100-0-deep-dive/</guid><description>Rust 1.100 稳定了可在任意类型位置书写的 never 类型 `!` 与核心 `Allocator` API，将 `Infallible` 统一为 `!` 的别名，并新增 `DropGuard`、`conjure_zst`、`extern &amp;#34;custom&amp;#34;` 以及 Cargo 原生 lint、依赖冷却期和新构建目录布局。本文结合官方发布说明与 1.99.0 对照验证，拆解这些变化的语义、工程取舍和升级注意点。</description></item><item><title>Rust 1.99 深度解析：用 Rust 定义 C 变参函数，从裸指针读取布局</title><link>https://nanlong.github.io/posts/rust-1-99-0-deep-dive/</link><pubDate>Sun, 04 Oct 2026 00:00:00 +0800</pubDate><guid>https://nanlong.github.io/posts/rust-1-99-0-deep-dive/</guid><description>Rust 1.99 稳定了 C 变参函数定义、裸指针布局查询和一组 Box/Vec 所有权转换 API，Cargo 新增 debug profile 并在 CI 中默认关闭增量编译。本文结合官方资料与 1.98.1 对照实测，说明这些变化的准确语义、使用限制和升级时要注意的地方。</description></item><item><title>Rust 1.98 深度解析：代数浮点运算可重排，整数格式化可复用缓冲区</title><link>https://nanlong.github.io/posts/rust-1-98-0-deep-dive/</link><pubDate>Mon, 24 Aug 2026 00:00:00 +0800</pubDate><guid>https://nanlong.github.io/posts/rust-1-98-0-deep-dive/</guid><description>Rust 1.98 将代数浮点运算与 NumBuffer/format_into 带入稳定版，并新增借用片段定位、UTF-16 字节序解码、原子切片转换和 FFI 检查。本文结合官方资料与实际编译结果，说明这些变化的准确语义和使用限制。</description></item></channel></rss>