YaFF in open source: how and why we built a zero-copy representation for Protobuf

General News

Summary

This article explains why the team built YaFF, an open-source zero-copy representation designed to make Protobuf-style access faster and more memory efficient. It compares YaFF with Protobuf and FlatBuffers across API design, presence handling, layout strategies, and compiler behavior. The piece highlights performance gains from zero-copy reads, cache-friendly layouts, and reduced CPU overhead in C++ workloads. It also shows how YaFF preserves a protobuf-like developer experience while offering alternative flat, sparse, and dynamic layouts for different use cases. The article ends by positioning YaFF as a practical option for performance-critical systems that still want familiar schema and accessor semantics.

Classifications

industries
EduTech - institutions
applications
Anti Piracy

AskAI Classifications

Labels
No AI classifications detected

Linked Companies