Rust 2026 经验谈 - 过程宏三件套
derive/attribute/function 三种过程宏详解、proc-macro2+quote+syn 工作链、derive 宏设计模式、属性宏实战、函数宏实战、调试技巧。
Cover Image of the Post
Rust 2026 经验谈 - 声明宏(macro_rules!)实战
tt muncher 模式、push-down accumulation 模式、重复模式技巧、hygiene 与 span、调试宏展开、声明宏的限制与升级时机。
Cover Image of the Post
Rust 2026 经验谈 - 共享状态并发实战
Mutex vs RwLock 选型、parking_lot 性能优势、lock ordering 防死锁、Arc 内部机制与优化、并发缓存设计实战。
Cover Image of the Post
Rust 2026 经验谈 - 通道与消息传递
mpsc/mpmc channel 选型、channel 背压策略、select 模式、与 Go channel 的对比、MPSC 生产者-消费者实战。
Cover Image of the Post
Rust 2026 经验谈 - 无锁并发模式
Atomic 类型全览、Memory Ordering 实战详解、compare_exchange 循环实现 CAS、SeqLock 模式、常见无锁数据结构思路。
Cover Image of the Post
Rust 2026 经验谈 - Send/Sync 深度理解
Send/Sync 自动 trait 机制、手动 impl 的场景与安全论证、Cell/RefCell 为何不 Send、跨线程安全传递模式、Negative impl。
Cover Image of the Post
Profile Image of the Author
TinyZ Zzh
专注于高并发服务器、网络游戏相关(Java、PHP、Unity3D、Unreal Engine等)技术,热爱游戏事业, 正在努力实现自我价值当中。
公告
欢迎来到我的博客!这是一则示例公告。
音乐
封面

音乐

暂未播放

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

文章目录