Hacker ApprovedDepartments

Cap'n Proto

Hacker Approved

Ranked 3 of 9 serialization formats by recommenders

Fast binary serialization and RPC system that people pick as a simpler, zero-copy alternative to Protobuf. Caveat: output can be large and the C++ code is less ergonomic.

Fast binary serialization and RPC system that people pick as a simpler, zero-copy alternative to Protobuf. Caveat: output can be large and the C++ code is less ergonomic.

25 people gave an opinion

recommend it
20
criticize it
5
approval share
80%
Each figure is one person. RecommendsCriticizes

Recommended in 7 of 13 months

  1. November 2025: not recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: not recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 20 people recommend itNeeds 10 or more, met.
  • 4 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 7 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Fast zero-copy serialization

    “Capnp is great, but the fact that protobuf can't do zero copy should be more an academic issue than practical.”

    Comment from 2 Dec 2025 in “Why I stopped using JSON for my APIs”

    “That's something flatbuffers/capnproto do well that isn't just pure speed.”

    Comment from 19 Dec 2025 in “Lite^3, a JSON-compatible zero-copy serialization format”

    “zero-copy formats like FlatBuffers or Cap'n Proto can be much faster”

    Comment from 2 Dec 2025 in “Why I stopped using JSON for my APIs”
  • Simpler format than Protobuf

    “the implementation of Cap'n Proto is quite a bit simpler than Protobuf due to the serialization format just being simpler”

    Comment from 10 Mar 2026 in “Show HN: Skir – A schema language I built after 15 years of Protobuf friction”

    “I like the ideas and binary encoding behind Capn Proto more than all the alternatives”

    Comment from 24 Jan 2026 in “Replacing Protobuf with Rust to go 5 times faster”

    “People who want protobuf but better often settle for something like cap’n proto”

    Comment from 12 Jul 2026 in “Protobuf-py: Protobuf for Python, without compromises”
  • Trusted, heavily used at Cloudflare

    “It is heavily used at Cloudflare, though, and is the basis for a lot of cool stuff we're doing”

    Comment from 27 Jan 2026 in “Cap'n Proto”

    “has been my goto since forever. Made by the protobuf inventor”

    Comment from 8 Mar 2026 in “Show HN: Skir – A schema language I built after 15 years of Protobuf friction”

What people warn about

Each mark is one comment

  • Output often produces large sizes

    “Cap’n Proto and FlatBuffers are fast but often produce rather large output”

    Comment from 2 Mar 2026 in “Why does C have the best file API”

    “Capnproto doesn't support transform on serialize - the optional fields still take up disk space”

    Comment from 6 Mar 2026 in “Nobody ever got fired for using a struct”
  • C++ code less ergonomic

    “your codebase will be filled with fairly horrific CapnProto C++ code”

    Comment from 23 Jan 2026 in “Replacing Protobuf with Rust to go 5 times faster”

    “In my experience capn proto is much less ergonomic.”

    Comment from 23 Jan 2026 in “Replacing Protobuf with Rust to go 5 times faster”

Other serialization formats people recommend

The four most recommended other serialization formats, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Cap'n Proto compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Protocol Buffers (protobuf)776654%1010 yrs3 owners—
Serde221658%10——
Cap'n ProtoThis page20580%7—Approved
Protobuf192543%8——
FlatBuffers16480%5—Approved
See all 9 serialization formats, ranked

What people said

28 of the 29 comments that mention it, newest first. Each links to the original comment.

“Some nice Object Capability technologies not mentioned in the Wikipedia article”

RecommendsComment from 4 Sep 2026 in “Authorization terminology is a mess: Let's fix it”

“designing a more compact format doesn’t really buy much on modern CPUs and modern networks”

RecommendsComment from 27 Aug 2026 in “Saving 100 terabytes of memory by optimizing 1.1.1.1's DNS cache”

“People who want protobuf but better often settle for something like cap’n proto”

RecommendsComment from 12 Jul 2026 in “Protobuf-py: Protobuf for Python, without compromises”

“Capnproto has promise pipelining where you can issue new instructions with results you don't have yet.”

RecommendsComment from 15 Apr 2026 in “MCP as Observability Interface: Connecting AI Agents to Kernel Tracepoints”

“the implementation of Cap'n Proto is quite a bit simpler than Protobuf due to the serialization format just being simpler”

RecommendsComment from 10 Mar 2026 in “Show HN: Skir – A schema language I built after 15 years of Protobuf friction”

“It's cool, but I personally think that for most use cases (not all)”

MixedComment from 10 Mar 2026 in “Show HN: Skir – A schema language I built after 15 years of Protobuf friction”

“has been my goto since forever. Made by the protobuf inventor”

RecommendsComment from 8 Mar 2026 in “Show HN: Skir – A schema language I built after 15 years of Protobuf friction”

“With a decent memory-safe parser, it’s perfectly safe”

RecommendsComment from 7 Mar 2026 in “Nobody ever got fired for using a struct”

“Capnproto doesn't support transform on serialize - the optional fields still take up disk space”

CriticizesComment from 6 Mar 2026 in “Nobody ever got fired for using a struct”

“the right tool might be Parquet or Arrow or protobuf or Cap’n Proto”

RecommendsComment from 6 Mar 2026 in “Nobody ever got fired for using a struct”

“Cap’n Proto and FlatBuffers are fast but often produce rather large output”

MixedComment from 2 Mar 2026 in “Why does C have the best file API”

“It is heavily used at Cloudflare, though, and is the basis for a lot of cool stuff we're doing”

RecommendsComment from 27 Jan 2026 in “Cap'n Proto”

“I had gotten slightly better performance results from PB”

CriticizesComment from 24 Jan 2026 in “Cap'n Proto”

“Some standards had all of this settled from day one: I think Cap'n Proto, Avro and Thrift fit this description.”

RecommendsComment from 24 Jan 2026 in “The Lost Art of XML”

“I like the ideas and binary encoding behind Capn Proto more than all the alternatives”

RecommendsComment from 24 Jan 2026 in “Replacing Protobuf with Rust to go 5 times faster”

“ASN.1, Cap'n Proto and Flatbuffers are all more efficient and exist already.”

RecommendsComment from 23 Jan 2026 in “Replacing Protobuf with Rust to go 5 times faster”

“that doesn’t have the encoding/decoding penalty of Protobuf”

RecommendsComment from 23 Jan 2026 in “Replacing Protobuf with Rust to go 5 times faster”

“your codebase will be filled with fairly horrific CapnProto C++ code”

CriticizesComment from 23 Jan 2026 in “Replacing Protobuf with Rust to go 5 times faster”

“Flatbuffers/protobuf/capn-proto/etc: easy to work with”

RecommendsComment from 23 Jan 2026 in “Replacing Protobuf with Rust to go 5 times faster”

“In my experience capn proto is much less ergonomic.”

CriticizesComment from 23 Jan 2026 in “Replacing Protobuf with Rust to go 5 times faster”

“it's the same idea in CapnProto or Flatbuffers”

RecommendsComment from 19 Jan 2026 in “Command-line Tools can be 235x Faster than your Hadoop Cluster (2014)”

“That's something flatbuffers/capnproto do well that isn't just pure speed.”

RecommendsComment from 19 Dec 2025 in “Lite^3, a JSON-compatible zero-copy serialization format”

“This is definitely a limitation of Cap'n Proto right now.”

MixedComment from 17 Dec 2025 in “Problems with D-Bus on the Linux desktop”

“simple RPC libs like Cap'n Proto don't do”

CriticizesComment from 17 Dec 2025 in “Problems with D-Bus on the Linux desktop”

“I'd recommend just pointing to capnproto.org”

RecommendsComment from 15 Dec 2025 in “CapROS: Capability-Based Reliable Operating System”

“Capnp is great, but the fact that protobuf can't do zero copy should be more an academic issue than practical.”

RecommendsComment from 2 Dec 2025 in “Why I stopped using JSON for my APIs”

“zero-copy formats like FlatBuffers or Cap'n Proto can be much faster”

RecommendsComment from 2 Dec 2025 in “Why I stopped using JSON for my APIs”

“offer most or all of the perks described in this post, with the addition of ensuring that serialization and deserialization are not a bottleneck”

RecommendsComment from 2 Dec 2025 in “Why I stopped using JSON for my APIs”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.