Rust 2026 经验谈 - 测试策略全景
单元/集成/doc test 组织与惯例、proptest 属性测试、rstest fixture 与参数化、mockall mock 框架、测试异步代码、criterion benchmark 实操、测试覆盖率 cargo-llvm-cov。
Cover Image of the Post
Rust 2026 经验谈 - 可观测性三件套
tracing 框架深度用法(span/event/subscriber 三层模型)、metrics 集成(metrics crate + Prometheus)、opentelemetry-rust 接入三信号、结构化日志、生产环境可观测性最佳实践。
Cover Image of the Post
Rust 2026 经验谈 - 数据库与 ORM 选型
SQLx vs SeaORM vs Diesel 选型对比、连接池管理 deadpool vs sqlx::Pool、migration 策略、嵌入式数据库 SQLite/Redb、事务与并发模式。
Cover Image of the Post
Rust 2026 经验谈 - 网络编程:从 TCP 到 HTTP
tokio::net 基础、hyper 底层 HTTP Service trait、tower middleware 生态、axum 0.8 实战 extractor 与 State、与 actix-web 选型对比。
Cover Image of the Post
Rust 2026 经验谈 - 序列化与数据格式
serde 生态全览、零拷贝反序列化 rkyv、自定义 Serialize/Deserialize、serde 属性速查、Protocol Buffers 与 FlatBuffers 的 Rust 绑定。
Cover Image of the Post
Rust 2026 经验谈 - Unsafe 代码审查清单
Safety doc 规范、Miri 检测 UB、loom 并发测试、unsafe 审查 checklist、geiger 统计 unsafe 使用量,系统保障 unsafe 代码安全。
Cover Image of the Post
Profile Image of the Author
TinyZ Zzh
专注于高并发服务器、网络游戏相关(Java、PHP、Unity3D、Unreal Engine等)技术,热爱游戏事业, 正在努力实现自我价值当中。
公告
欢迎来到我的博客!这是一则示例公告。
音乐
封面

音乐

暂未播放

0:00 0:00
暂无歌词
分类
标签
站点统计
文章
251
分类
38
标签
307
总字数
414,672
运行时长
0
最后活动
0 天前

文章目录