Build a Protobuf Encoder
Build a Protocol Buffers encoder/decoder: varint encoding, ZigZag for signed ints, wire types, message + repeated/packed encoding, schema evolution rules, .proto compilation, and gRPC service definitions.
intermediate13 lessons4 chapters13 graded exercisesPython
No sign-up needed for lesson 1 · certificate on completion · sign up to save progress
What you’ll have built
Chapter by chapter. Every step is a graded exercise.
- Schema & Encoding
- Wire Format
- Code Generation
- Production
Starts in Python — solve in the language you choose in the editor, same tests either way.
Curriculum
4 chapters, 13 lessons. Each lesson is a short read, one graded exercise, and a quiz.
- 1What Protobuf SolvesRead · exercise · quiz
- 2Varint EncodingRead · exercise · quiz
- 3Field EncodingRead · exercise · quiz
- 4ZigZag Encoding for Signed IntsRead · exercise · quiz
Loading reference solution…