Implementing a High Performance Serialization Library
Lightningat RustConf 2026 · on Wednesday, 2026-09-09· at 17:20· Room 511 | Palais des Congrès de Montréal, Palais des Congrès de Montréal·
summary
WinCode is a high-performance serialization library that claims to be a drop-in replacement for Bincode by producing identical bytes while removing extra copies. It implements Deserialize into a &mut MaybeUninit<T> so code can allocate with Box::new_uninit or use Vec::spare_capacity_mut to write directly into uninitialized heap memory, reduces per-element bounds checks, uses compile-time type metadata to do bulk memcpy for plain data, and shows substantial benchmarks with serialization gains even larger than deserialization.
AI-written summary · about
related talks
01h 00mKilling C++ Serialization Overhead & Complexity
23mA Faster Serialization Library Based on Compile-time Reflection and C++ 20
56mEverything is serialization
34mMove fast and don't break things: High-performance networking in Rust
08mThe Importance of Not Over-Optimizing in Rust
01h 10mLet's make a library that uses Reflection
31mImmutable Data Structures and why You want them
15mSupercharging Your Code With Five Little-Known Attributes
