Parsing Protobuf Like Never Before · mcyoung

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

A deep dive into hyperpb, a high-performance Go protobuf parser that uses table-driven parsing instead of code generation. The library implements a virtual machine interpreter with extensive optimizations including arena memory management, zero-copy string handling, profile-guided optimization (PGO), and register-based parser

21m read timeFrom mcyoung.xyz
Post cover image
Table of contents
Why Reinvent UPB?hyperpb ’s APIThe GutsOther OptimizationsConclusion

Sort: