TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Testing MsgPack and BSON

4 pointsby zhenjlover 11 years ago

2 comments

nlyover 11 years ago
&gt; we decided to test BSON and MessagePack due to their closeness to JSON<p>Then I&#x27;m surprised you overlooked Thrift so quickly given that it has several binary <i>and</i> a JSON encoding. There&#x27;s also an official Go implementation in tree, and you get the comfort of a protobuf-like schema format (which with code-gen means you don&#x27;t have to rewrite a bunch of code if you want to use it across languages).<p>Other nice options: Apache Avro (no code gen, json schemas, <i>very</i> dense encoding) and Cap&#x27;n Proto
评论 #6294114 未加载
thdnover 11 years ago
I wonder how Cap&#x27;n Proto would perform