Build a MessagePack Parser
Build a MessagePack encoder/decoder: format byte detection, varint-style integer encoding, length-prefixed strings/bytes/arrays/maps, ext types for custom types (timestamps, UUIDs), and the binary alternative to JSON used by Redis, Pinterest, IoT systems.
intermediate10 lessons4 chapters10 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.
- Format Basics
- Composite Types
- Implementation
- Production
Starts in Python — solve in the language you choose in the editor, same tests either way.
Curriculum
4 chapters, 10 lessons. Each lesson is a short read, one graded exercise, and a quiz.
- 1What MessagePack IsRead · exercise · quiz
- 2Primitive TypesRead · exercise · quiz
- 3String EncodingRead · exercise · quiz
Loading reference solution…