Ross ROSS = Recommend OSS · open-source software intelligence for agents

Cysharp/MemoryPack

Zero encoding extreme performance binary serializer for C# and Unity. observed · 2026-10-11

github.com/Cysharp/MemoryPack · C# · MIT (permissive) observed · 2026-10-11

Health v2 · maintenance only

67/100

  • Activity 98
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 1508
  • days_rel: 615
  • days_push: 14
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

4752 stars · 319 forks observed · 2026-10-11

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

Member repositories

RepositoryRoleHealth v2
Cysharp/MemoryPackmain67

For agents

markdown · JSON · MCP: product_card(name="Cysharp/MemoryPack")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem