Cysharp/MemoryPack
Zero encoding extreme performance binary serializer for C# and Unity. observed · 2026-08-28
Health v2 · maintenance only
71/100
- Activity 91
- Release rhythm 28
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 73.0
- age_days: 1460
- days_rel: 567
- days_push: 56
- n_releases_24m: 3
Adoption not part of the score
4708 stars · 312 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
MemoryPack is a zero-encoding, extremely fast binary serializer for C# and Unity, using a C#-optimized format that copies memory directly instead of encoding. It supports source-generator-based codegen, version tolerance, polymorphism, circular references, and TypeScript code generation.
Use cases
- serialize C# objects to binary faster than MessagePack or protobuf
- high-performance serialization for Unity IL2CPP games
- serialize struct arrays with minimal overhead
- AOT-friendly serialization without reflection or IL emit
- version-tolerant binary serialization of POCOs
- generate TypeScript definitions from C# types
- streaming serialization with PipeWriter/PipeReader
When to choose
- you need maximum serialization throughput in .NET or Unity
- you want Native AOT / IL2CPP compatible serialization via source generators
- you serialize large arrays of structs
- you want a C#-specific binary format without schema encoding overhead
When to avoid
- you need cross-language interoperability with a standard format like JSON, Protobuf, or MessagePack
- you need full schema evolution across many versions
- your target is below .NET Standard 2.1
- you need human-readable serialization
Facets
library · maturity active
serialization developer-tools backend cross-platform game-engine dotnet binary-serializer unity source-generator zero-encoding poco aot-friendly game-development c#
1 source
- readme: https://github.com/Cysharp/MemoryPack · fetched 2026-08-28 · 0de65b1fa81a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Cysharp/MemoryPack | main | 71 |
For agents
markdown · JSON · MCP: product_card(name="Cysharp/MemoryPack")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem