TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Testing MsgPack and BSON

4 点作者 zhenjl将近 12 年前

2 条评论

nly将近 12 年前
&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 未加载
thdn将近 12 年前
I wonder how Cap&#x27;n Proto would perform