Yandex has open-sourced YaFF, a C++ serialization library designed to improve the performance of Protocol Buffers (Protobuf). YaFF acts as an alternative wire format for Protobuf messages, allowing the original .proto schema to remain the source of truth while optimizing how data is laid out in memory. This approach aims to reduce CPU consumption in high-load backend systems, with Yandex reporting 10-20% savings in production environments. Benchmarks indicate that YaFF's Flat Layout can read data significantly faster than Protobuf and FlatBuffers, approaching the speed of raw C++ structs. AI
IMPACT This library could improve the efficiency of data processing in AI systems that rely on Protobuf.
RANK_REASON Open-source release of a new serialization library with performance benchmarks.
Read on Mastodon — fosstodon.org →
- AMD EPYC 7713
- Apache Software License 2.0
- Clang 20.1.8
- CPP
- FlatBuffers
- Google+
- Protocol Buffers
- Yafforth
- Yandex
AI-generated summary · Google Gemini · from 3 sources. How we write summaries →