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.

The Unreasonable Effectiveness of Simple Binary Encoding (SBE)

8 pointsby yafetnalmost 2 years ago

7 comments

robertlagrantalmost 2 years ago
It's always worth noting that JSON compresses the hell out of repetitive key names, just as it did for the even more repetitive XML. It's nicer to have a bit packing format that means you get even better space usage, and you skip a compression step, but it works for a huge number of cases.
samthoalmost 2 years ago
This reminds me a lot of protobuf, just packing serial data based on type, specified width combined with a specified length (like an array) when 9-n items are possible.
lordnachoalmost 2 years ago
I&#x27;ve used SBE and Aeron, can recommend.<p>The difference with SBE vs JSON is there&#x27;s no need to serialize&#x2F;deserialize anything. In SBE you literally just write in the value and read the value. You aren&#x27;t turning bytes into text, which takes time and might require intermediate state (depends on what you&#x27;re implementing).<p>It&#x27;s almost like a non-format, because what could be simpler?
评论 #37073882 未加载
nh23423fefealmost 2 years ago
This isn&#x27;t what &quot;unreasonable effectiveness&quot; is. Why worry about AI beliefs being disconnected from source meaning. Humans already abuse language.
rini17almost 2 years ago
What is unreasonable here?
评论 #37061712 未加载
loveparadealmost 2 years ago
Clickbait article, save your time. Could be generated by ChatGPT.
abdulhaqalmost 2 years ago
I&#x27;m so over these Unreasonable titles