News for hackers. Stuff that matters.
Re:The Unreasonable Effectiveness of Simple Binary Encoding ... by lordnacho on Thursday August 10, 2023 @05:22AM (#37073821)
I've used SBE and Aeron, can recommend.

The difference with SBE vs JSON is there's no need to serialize/deserialize anything. In SBE you literally just write in the value and read the value. You aren't turning bytes into text, which takes time and might require intermediate state (depends on what you're implementing).

It's almost like a non-format, because what could be simpler?

Re:The Unreasonable Effectiveness of Simple Binary Encoding ... by giantrobot on Thursday August 10, 2023 @05:30AM (#37073882)
> It's almost like a non-format, because what could be simpler?

Something that specifies endianness and field types?

Re:The Unreasonable Effectiveness of Simple Binary Encoding ... by lordnacho on Thursday August 10, 2023 @05:56AM (#37074035)
Yeah I'm not saying there's nothing there at all, just that it's minimal.