News for hackers. Stuff that matters.
Re:MessagePack: like JSON, but fast and small by sonicxxg on Tuesday March 10, 2020 @01:51PM (#22537701)
Missing links to benchmarks. Also, Json is not really a good baseline for comparison. If you support binary data natively in the format, you should compare it to Bson.
Re:MessagePack: like JSON, but fast and small by ants_a on Tuesday March 10, 2020 @02:05PM (#22537862)
Bson is just terrible. Just as a taste, arrays are encoded as key-value, where key is the array index converted to a decimal string and then stored as zero terminated string with 4 byte length prefixed to it. It boggles the mind why somebody would design a format like this.