2025 清单
Rust 语言
- Bridging Async and Sync Rust Code — A lesson learned while working with Tokio: 异步代码与同步调用;futures::executor::block_on 与 tokio::spawn 的死锁
- Rust, reflection and field access rules:反射与字段访问的安全性;反射的不安全性
- Type Inference in Rust and C++: C++ 与 Rust 类型推断对比
- Refined: simple refinement types for Rust: 将类型的值缩小到一个子集,并且可以与 serde 集成
low-level
- Testing Assembly Code with Rust:汇编与 Rust 测试
- No-Panic Rust: A Nice Technique for Systems Programming: 查看和去除 panic 代码的技巧,以减少二进制产物大小
- So you want better debug info?:Rust 调试信息
- Zig -> allocators -> Rust ergonomics: 使用自定义分配器
嵌入式
- Insights for Everyone and Nine Rules for Embedded Programmers
其他
- Smuggling arbitrary data through an emoji: 使用 unicode 的 ZWJ (Zero Width Joiner) 特性,隐藏任意字符
- Tokio + prctl = nasty bug:
作者误读了 PR_SET_PDEATHSIG 的文档,在 spawn 子进程的时候,通过 prctl 把
SIGTERM 信号设置给了 spawn_blocking 的 tokio 线程,但以为设置给了子进程的故事。
拓展阅读:关于 prctl API 的演讲 Once upon an API