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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Msgpack23 – A modern, header-only C++ library for MessagePack (de)serialization

29 点作者 gjvc大约 2 个月前

4 条评论

parhamn大约 2 个月前
Does C(++) still not have a broadly used package manager? If not, that&#x27;s mind blowing.<p>The header only fad seems to because of a lack of one? IIRC they&#x27;re more costly compilation wise too.
评论 #43521336 未加载
评论 #43526074 未加载
评论 #43527381 未加载
评论 #43522677 未加载
评论 #43521321 未加载
评论 #43520586 未加载
评论 #43520548 未加载
lukaslalinsky大约 2 个月前
I recently discovered the usefulness of msgpack with a fixed scheme. Wrote a library for encoding&#x2F;decoding msgpack based on structs. Like protobuf, it&#x27;s compact and possible to evolve, plus I actually find it easier to deal with, since it decodes to native types, not protobuf wrappers. And you can read it in basically any language, which makes is super easy to debugging binary files&#x2F;streams.
01HNNWZ0MV43FF大约 2 个月前
nlohmann::json also does msgpack and is header-only, and it&#x27;s the most popular JSON lib for C++ <a href="https:&#x2F;&#x2F;github.com&#x2F;nlohmann&#x2F;json?tab=readme-ov-file#design-goals" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nlohmann&#x2F;json?tab=readme-ov-file#design-g...</a>
remram大约 2 个月前
At this point, what is the difference between MessagePack and CBOR?
评论 #43527089 未加载
评论 #43521350 未加载